/nestjs

nestjs

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

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.

Protect your nestjs source code

ncc + bytenode

  • After complie using ncc, you need del words like 'ncc' in the file. Then run bytenode.

  • with PM2, create a file like this.At last run this file using PM2

require('bytenode');
require('./index.jsc');
  • Performance. And run bechmark using autocannon , there is no difference in performance. even more outstanding.