-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add env vars and twilio integration
- Loading branch information
Showing
5 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
images | ||
images | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export const MONGO_URI = "mongodb://localhost:27017/node_mono_latest"; | ||
export const JWT_SECRET = "Sup3rs4f3_JWT_S33cr3t!"; | ||
import 'dotenv/config'; | ||
export const MONGO_URI = `${process.env.MONGO_URI}`; | ||
export const JWT_SECRET = `${process.env.JWT_SECRET}`; | ||
|
||
export const TWILIO_ACCT_SID = ""; | ||
export const TWILIO_AUTH_TOKEN = ""; | ||
export const TWILIO_ACCT_SID = `${process.env.TWILIO_ACCT_SID}`; | ||
export const TWILIO_AUTH_TOKEN = `${process.env.TWILIO_AUTH_TOKEN}`; | ||
export const TWILIO_FROM_NUMBER = `${process.env.TWILIO_FROM_NUMBER}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters