Skip to content

Instantly share code, notes, and snippets.

@nicovray
Created April 22, 2022 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicovray/66a6d8678a68406f77ad1a54b9c963d1 to your computer and use it in GitHub Desktop.
Save nicovray/66a6d8678a68406f77ad1a54b9c963d1 to your computer and use it in GitHub Desktop.
node_modules
.env
SERVER_PORT=5000
MY_NAME=your name
MY_CITY=your city
MY_LANGUAGE=your language
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