Skip to content

euiyounghwang/nest-js-rest-api

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Install NestJS

Install NestJS

brew install node
npm -version
pm install -g pm2
npm i -g @nestjs/cli
npm install -g yarn
npm install --save @nestjs/swagger
npm install @nestjs/elasticsearch @elastic/elasticsearch@7.13.0

Create Project

nest new project-name

Run the service (Need to install swagger && change the code in main.ts)

http://localhost:4000/api