c9 BE (NestJS 11)
Backend API built with NestJS 11
Tech Stack
- NestJS 11
- TypeORM
- MySQL
- Redis
- JWT
- Swagger
- i18n
- Zod
Development
bash
yarn install
yarn dev # http://localhost:8080Scripts
| Script | Command |
|---|---|
yarn build | nest build |
yarn format | prettier --write "src/**/*.ts" "test/**/*.ts" |
yarn start | nest start |
yarn start:dev | nest start --watch |
yarn start:debug | nest start --debug --watch |
yarn start:prod | node dist/main |
yarn lint | eslint "{src,apps,libs,test}/**/*.ts" --fix |
yarn test | jest |
yarn test:watch | jest --watch |
yarn test:cov | jest --coverage |
yarn test:debug | node --inspect-brk -r tsconfig-paths/register -r ts-node/reg... |
yarn test:e2e | jest --config ./test/jest-e2e.json |