-
First of all create a
.env
file in root of project with content like below:PORT=3001
MONGO_DB_NAME=testi
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_DB_NAME=dbName
ADMIN_CODE=adminCode
MONGO_USERNAME=username
MONGO_PASSWORD=password
NODE_PATH=.
NODE_ENVIRONMENT=development
-
Install dependencies
npm i
-
Run project
npm start
You can check API here https://ketabot.herokuapp.com/api-docs