Skip to content

huongnt-2545/nestjs-task-management

Repository files navigation

nestjs-task-management

Tutorial for nestjs web api - Task Management

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

TypeORM migrations

  1. Using CLI command: refs https://typeorm.io/#/migrations/creating-a-new-migration
# comand work on .js file
typeorm migration:run
typeorm migration:revert

# will create .ts file
typeorm migration:create
typeorm migration:generate

# using ts-node
ts-node --transpile-only ./node_modules/typeorm/cli.js migration:run

About

Tutorial for nestjs web api - Task Management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published