- Nestjs + Docker + Heroku Postgres + JWT Authentication + PUB NUB + Swagger Api Docs
- Node >=16.0.0
- Docker version 20.10.11
- Docker-compose version 1.29.0
- Nestjs backend framework
- Postgres database
- Docker for infrastructure
- Typeorm ORM library
- Heroku Postgres
- Pubnub on Heroku for async notifications
- nestjs-seeder to use nestjs modules as cli
- Swagger for api rest documentation
- JWT to authenticate routes
- Jest for unit tests
- Axios for http request
- RXJS
- Class Validator
- install api dependencies:
cd ./api
yarn install
- initialize api and php-myadmin containers with docker-compose:
docker-compose up
- Open the browser on localhost:3000/docs to see the Api Swagger Docs
- Run migrations
- Seed database tables:
docker exec -it api bash
yarn migration:run
yarn seed
yarn test
This is a challenge by Coodesh