- Install the dependencies:
npm install
- Create a configs folder and add the configs :
mkdir configs
touch configs/dev.env
touch configs/test.env
- Specify the environment in the
dev.env
andtest.env
file:
PORT=3000
- To run the app in the development mode:
npm run devstart
- To run the app in the test mode:
npm run test