Backend REST APIs build on NODE JS
These instructions will get your project up and running on your local machine for development and testing purposes.
- NODE JS - 12.16 version
- NODEMON - 1.18 (For development only, not required for production)
To install NODEMON
sudo npm install nodemon -g
A step by step series of examples that tell you how to get a development env running (run following commands within the project directory)
-
Install Dependencies
npm install
-
Create a copy of .env.example with name .env
cp .env.example ./.env
-
Open .env and change the config according to your system
-
To start the project - for development
npm run start-dev
To start the project - for production
npm start