[A starter template for REST API & microservices]
First, clone the repository:
git clone https://github.com/MdMostaFizurRahaman/microservice-starter.gitThen, install the dependencies:
npm install | yarn install.env.example file will be copied to .env automatically for the first time npm/yarn install command is run
Next, change these .env file values with your own values.
DB_NAME=microservice-starter
DB_HOST=localhost
DB_PORT=27017
DB_USER=root
DB_PASSWORD=passwordThen, run the server:
npm run devApplication will be running on http://localhost:3000