This repo implemented clean architecture with unit test, e2e test, ci, etc. You can use it as a template
Besides, this still implemented SOLID principle
I implemented this architecture base on this book Book Bob Martin
- Add prisma database, so we can easily between typeorm to prisma and vice versa without change code or business layer
- Add Dockerfile
- Apply some patterns and more example SOLID
- Add repo frontend (Next.JS), which will apply clean architecture (maybe)
$ pnpm install
$ cp .env.development.example .env.development
$ pnpm run docker:up
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov