- This is used Domain Driven Design
- Local Jwt Authentication (Passport JS)
- Authentication can be via cookie or headers
- Simple Role Based Enumeration
- Custom (Decorators, Exceptions, Guards, Middlewares, Responses, Filters, Interceptors)
- Authentication using HTTP Only, Secure, Same site
- OpenAPI using swagger
- Health Check
- Git Hooks (Husky) configured check commit formar, linter & formatter
- Redis cached
- Trace is send to Grafana Tempo
- Metrics is send to Prometheus
- Log is send to Grafana Loki
- Monitoring Dashboard used Grafana
- Used PostgreSQL
- ORM Prisma
- Redis
docker-compose up -d --build
yarn && yarn db:migrate
yarn prisma:sync
yarn db:seed
yarn dev
# or
yarn watch
yarn build && yarn start:prod
http://localhost:<your env port>/openapi