Rest Api NestJS + MongoDB with authentication with jwt and passport. Validation of actions by roles. With self-generated documentation with Swagger.
This project has one branch: main, contains the final product. And several temporary child branches where features are resolved or bugs are fixed. Carrying out the git workflow strategy github flow
If you want to see the demo of this proyect deployed, you can visit Demo of the proyect
This is for the sole purpose of having the deployment
# yarn
yarn
# npm
npm install
# development
yarn start
# watch mode
yarn start:dev
# production mode
yarn start:prod
# up in background
docker-compose up -d mongo
Don't forget to fill in the field of
example.env