A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
$ npm init -y
$ npm i typescript --save-dev
$ npx tsc --init
$ npm i jest @types/jest --save-dev
$ npx jest --init
$ npm i @swc/jest @swc/core --save-dev
### Alterar o arquivo jest.config.ts
linha 176:
transform: {
"^.+\\.ts?$": ["@swc/jest"],
},
$ npm i express --save
$ npm i @types/express --save-dev
NESTJS
$ npm i -g @nestjs/cli
$ nest new project-name
$ npm run start:dev
$ nest generate [artefact] [name]
$ nest g resource routes
$ npm i sqlite3 typeorm @nestjs/typeorm --save