티스토리 뷰
[설명]
1.nestjs에 접속하여 기본정보를 인스톨한다.
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reac
docs.nestjs.com
$ npm i -g @nestjs/cli
2. nestjs 공식페이지에서 제공되는 시작 프로젝트를 fork하여 내 github에 담는다.
https://github.com/nestjs/typescript-starter.git project
https://github.com/gofogo2/nest-js-api.git
3.나의 프로젝트를 clone 하여 vscode에서 실행한다.
$ git clone https://github.com/gofogo2/nest-js-api.git
$ cd project
$ npm install
$ npm run start
4.localhost:3000에서 helloworld를 확인한다.
[github commit] 현재버전의 커밋 제공
https://github.com/gofogo2/nest-js-api/commit/e8e2098677fa6d4238900264ad44eb464447b348
Initial commit · gofogo2/nest-js-api@e8e2098
Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Showing 16 changed files with 19,269 additions and 0 deletions. +24 −0 .eslintrc.js +398 −0 .gitignore +4 −0 .prettierrc +73
github.com
#nestjs #typescript #javascript #js #ts #api
'nest api 서버 개발 프로젝트' 카테고리의 다른 글
[nestjs] 4. nestjs환경에서 설정파일 config로 빼기(Joi, config, cross-env) (0) | 2021.11.15 |
---|---|
[nestjs] 3. nestjs 환경에서 기본적인 CRUD(Create Read Update Delete) 완성하기 (0) | 2021.11.14 |
[nestjs] 2. nestjs환경에 typeorm을 적용하여 데이터베이스 연결하기 (0) | 2021.11.14 |
[nestjs] 1. testController / testService 생성 및 helloworld (0) | 2021.11.14 |
[typescript(타입스크립트)/nestjs]nestjs로 api 서버 1분만에 만들기 (0) | 2021.11.13 |