Skip to content

Cophr/backend

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

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Migration

# build and according to dist/**/*.entity.js difference between previous and now to generate sql queries
$ yarn migration:generate src/database/migrations/{THIS_migration_DO}

# build and create new empty migration which custom sql queries
$ yarn migration:create src/database/migrations/{THIS_migration_DO}

# build and run with sql queries to update a database
$ yarn migration:run

# build and view current status which database migration version
$ yarn migration:show

# build and revert database to previous version
$ yarn migration:revert

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.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages