Folder structure setup for building Rest APIs in Node.js, Express.js and Mongo Database
Steps for setting up templete for Rest API project
install packages
- run: npm install
Configure environment variables
- create copy .env-example in application folder.
- rename it to .env
- fill all environment variables according to your environment
start application
- run: npm start (production) or
- run: npm run server (development)