설치하기

프로젝트 구성은 Nest CLI를 이용해서 아주 간단하게 할 수 있습니다.

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

다른 방법

Git을 통해서 프로젝트를 받아오는 방법도 있습니다.

$ git clone https://github.com/nestjs/typescript-starter.git project
$ cd project
$ npm install
$ npm run start

또한 라이브러리를 직접 설치하고 구조를 직접 구성해서 사용할 수도 있습니다.

$ npm i --save @nestjs/core @nestjs/common rxjs reflect-metadata

Last updated