Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 741 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 741 Bytes

DotEnv with ES6 (COMMOM JS)

This is a project to show how to use environment variables with dotenv and ES6.


For a better understanting, look this project in this way:

  1. Install the dotenv dependency with 'npm i' on terminal.
    OBS: Dotnev is the only lib/dependecy this project uses
  2. Check out the '.env' file into the root folder of this project
  3. Check out the 'envLoad.js' file into 'lib' folder
  4. Check out the 'index.js' file into the root folder of this project
  5. Run the project with 'npm start' on your terminal

Well, i hope you enjoy. For any questions you can make it into 'Issues' section on GitHub.


Peace! :)