A simple Web Service in NestJS to starter development of API
An initial application to build an api with JWT authentication, where it is possible to maintain user registration, to send password recovery emails, register API documentation, unit tests and e2e, using SOLID and TDD principles
- Functional Requirements: Requirements
- Api Documentation: access the route http://localhost:3000/docs
$ yarn install
# development
$ yarn start
# watch mode
$ yarn start:dev
# or
$ docker-compose up -d
# production mode
$ yarn start:prod
# or
$ docker build .
$ docker run -p 3000:3000 [image-id]
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov