shams-nahid / Manage-Node-App-Environment

Hassle Free Development: Manage Environment Variable in Node App

Home Page:https://medium.com/@bmshamsnahid/hassle-free-development-manage-environment-in-node-app-9c5887c81903

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step by Step Guideline

Objective

Manage the environment variables in node app easiest way.

Run application

Clone the repo

git clone https://github.com/bmshamsnahid/Manage-Node-App-Environment

Install dependencies

npm i

Create .env file just like .envExample and copy the content from .envExample to .env.

Your newly created .env file should be look like

foo=bar

Now run the app

npm start

or

node index.js

Test

To test the module, run

npm test

License

MIT