Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.06 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.06 KB

nestjs-boilerplate

Easy to use and dynamic NestJS boilerplate, helps quickly start working on a project with best practices and reduces time in developing the most obvious utilities in a project

Pre-requisites

.env file

Create a file namely .env in project root and add the following content in it:

APP_ID=YOUR_OPEN_WEATHER_API_KEY_HERE
APP_PORT=3001
MONGO_URL=mongodb://localhost:27017/weather

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov