Created
April 22, 2022 12:01
-
-
Save nicovray/66a6d8678a68406f77ad1a54b9c963d1 to your computer and use it in GitHub Desktop.
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
node_modules | |
.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
SERVER_PORT=5000 | |
MY_NAME=your name | |
MY_CITY=your city | |
MY_LANGUAGE=your language |
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
require('dotenv').config(); | |
console.log(`The server will run on port ${process.env.SERVER_PORT}`); | |
console.log(`I am "${process.env.MY_NAME}", wilder in "${process.env.MY_CITY}", and I love "${process.env.MY_LANGUAGE}"`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment