Nest framework TypeScript starter repository.
# INSTALL PACKAGES NODEJS/NPM
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# BUILD IMAGE
$ docker pull mongo
# RUN IMAGE
$ docker run --name mongodb -p 27017:27017 -d mongo
String de conexão será, o banco será criado automaticamente de acordo com o que for escrito no local de DATABASE-NAME
.
mongodb://localhost:27017/DATABASE-NAME