Backend project for autonomy software solutions company website
$ pnpm install# 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- Redis
- Postgres
- REST
- GraphQl
- WebSockets
- Js(TypeScript)
- Prisma
nest g module namenest g service namenest g resource namenest g controller name
- Generate Prisma client
- Update Schema and define models
- Migrate db
npx prisma migrate dev --name init
- Create seeding file at the root
touch prisma/seed.ts - Add new script entry to package.json
"scripts": {"seed": "ts-node prisma/seed.ts"} npm run seedorpnpm run seedif pnpm is your package managernpx prisma studio
- Install Swagger
pnpm install --save @nestjs/swagger