[A starter template for REST API & microservices]
First, clone the repository:
git clone https://github.com/MdMostaFizurRahaman/microservice-starter.git
Then, 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=password
Then, run the server:
npm run dev
Application will be running on http://localhost:3000