A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ pnpm install
$ pnpm store prune
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# running
$ docker-compose up
# list
$ docker ps
# stop
$ docker stop id_container
# destroy
$ docker-compose down -v
# data-base bash
$ docker compose exec db bash
# create
$ typeorm migration:create src/lib/database/migrations/--migration-name--
# running the new migration
$ pnpm migration:run
# Rollbacks
$ typeorm migration:revert --fake
# running
$ pnpm seed:run
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Gustavo Almeida
- LinkeIn - https://www.linkedin.com/in/gustavo-augusto-3a513b1b5/
Url para acessar o swagger em ambiente de desenvolvimento: http://localhost:5000/server#