Back to Docmost

README

apps/server/README.md

0.80.23.8 KB
Original Source
<p align="center"> <a href="http://nestjs.com/" target="blank"></a> </p> <p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p> <p align="center"> <a href="https://www.npmjs.com/~nestjscore" target="_blank"></a> <a href="https://www.npmjs.com/~nestjscore" target="_blank"></a> <a href="https://www.npmjs.com/~nestjscore" target="_blank"></a> <a href="https://circleci.com/gh/nestjs/nest" target="_blank"></a> <a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"></a> <a href="https://discord.gg/G7Qnnhy" target="_blank"></a> <a href="https://opencollective.com/nest#backer" target="_blank"></a> <a href="https://opencollective.com/nest#sponsor" target="_blank"></a> <a href="https://paypal.me/kamilmysliwiec" target="_blank"></a> <a href="https://opencollective.com/nest#sponsor" target="_blank"></a> <a href="https://twitter.com/nestframework" target="_blank"></a> </p> <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer) [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

Description

Nest framework TypeScript starter repository.

Installation

bash
$ npm install

Running the app

bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Migrations

bash
# This creates a new empty migration file named 'init'
$ npm run migration:create --name=init

# Generates 'init' migration file from existing entities to update the database schema
$ npm run migration:generate --name=init

# Runs all pending migrations to update the database schema
$ npm run migration:run

# Reverts the last executed migration
$ npm run migration:revert

# Reverts all migrations
$ npm run migration:revert

# Shows the list of executed and pending migrations
$ npm run migration:show



## Test

```bash
# 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.