armanriazi / nestjs-projects

https://armanriazi.github.io/public/programming/nestjs/nestjs

Home Page:https://armanriazi.github.io/public/programming/nestjs/nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pnpm i -g @nestjs/cli
nest new nets-rest-api

By writing --no-spec at the front of command nest g ... test won't add to the project

nest g controller items
nest g service items 
nest g module items 

ORMs

Mongoose

pnpm i @nestjs/mongoose mongoose

Prisma

pnpm i -D @prisma
pnpm i @prisma/client
pnpm prisma init
pnpm prisma --help

Migration

pnpm prisma migrate dev
pnpm prisma generate

Launch UI

pnpm prisma studio

Prisma Config Module

nest g module prisma --no-spec

About

https://armanriazi.github.io/public/programming/nestjs/nestjs

https://armanriazi.github.io/public/programming/nestjs/nestjs

License:MIT License


Languages

Language:TypeScript 95.4%Language:JavaScript 4.6%