A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.
ToDos
1
- [] CRUD with nestjs & prisma
- [] OpenAPI & cli(golang)
- [] Auth(passport)
- [] Hashing
- [] CORS
- [] CSRF
- [] Rate Limit
2
- [] Deploy Cloud Run
- [] PlanetScale
- [] CI/CD with GCP
- [] Logging
Commands
$ nest new nest-prisma
$ cd nest-prisma
$ tree . -I node_modules -L 2
.
├── README.md
├── nest-cli.json
├── package-lock.json
├── package.json
├── src
│ ├── app.controller.spec.ts
│ ├── app.controller.ts
│ ├── app.module.ts
│ ├── app.service.ts
│ └── main.ts
├── test
│ ├── app.e2e-spec.ts
│ └── jest-e2e.json
├── tsconfig.build.json
└── tsconfig.json
$
$ npm run start:dev
$ npm run start:dev
$ # mysql
$ cd ./db && docker compose up -d
$ # prisma
$ npm install prisma --save-dev
$ npm install @prisma/client
$ npx prisma init
$ npx prisma migrate dev --name init
$ npx prisma studio
$ # nestjs
$ # nest generate module services/shared --flat
$ nest generate service services/prisma --flat
$ nest generate module user
$ nest generate service user
$ nest generate controller user