티스토리 뷰

반응형

[javascript/typescript] backend nestjs + prisma 기본 세팅

 

backend를 다양하게 써보면서 제일 궁합 좋은 건 

nestjs+prisma였다

 

nextjs도,

typeorm도 아니었다.

적극 추천한다.

 

https://nestjs.com/

 

NestJS - A progressive Node.js framework

NestJS is a framework for building efficient, scalable Node.js web applications. It uses modern JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Progr

nestjs.com

 

npm i -g @nestjs/cli
nest new project-name

npm install prisma --save-dev
npx prisma init
npm install @prisma/client

 

 

nest g co test
nest g s test
nest g mo test

 

 

 

반응형
댓글
반응형