Nest.js 시작

$ npm i -g @nestjs/cli
$ nest new nestjs-test 
⚡  We will scaffold your app in a few seconds..

? Which package manager would you ❤️  to use? (Use arrow keys)
  npm
  yarn
❯ pnpm
⚡  We will scaffold your app in a few seconds..

? Which package manager would you ❤️  to use? npm
CREATE our-nestjs/.eslintrc.js (663 bytes)
CREATE our-nestjs/.prettierrc (51 bytes)
CREATE our-nestjs/README.md (3340 bytes)
CREATE our-nestjs/nest-cli.json (171 bytes)
CREATE our-nestjs/package.json (1941 bytes)
CREATE our-nestjs/tsconfig.build.json (97 bytes)
CREATE our-nestjs/tsconfig.json (546 bytes)
CREATE our-nestjs/src/app.controller.spec.ts (617 bytes)
CREATE our-nestjs/src/app.controller.ts (274 bytes)
CREATE our-nestjs/src/app.module.ts (249 bytes)
CREATE our-nestjs/src/app.service.ts (142 bytes)
CREATE our-nestjs/src/main.ts (208 bytes)
CREATE our-nestjs/test/app.e2e-spec.ts (630 bytes)
CREATE our-nestjs/test/jest-e2e.json (183 bytes)

✔ Installation in progress... ☕

🚀  Successfully created project our-nestjs
👉  Get started with the following commands:

$ cd nestjs-test
$ npm run start

                          Thanks for installing Nest 🙏
                 Please consider donating to our open collective
                        to help us maintain this package.

               🍷  Donate: <https://opencollective.com/nest>

Nest JS 모듈(Application Module)

CRUD 게시물 만들기

Untitled

Untitled

<aside> 💡 기본 구조 설명

</aside>

eslintrc.js

Untitled

prettierrc

Untitled