Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 998 Bytes

README.md

File metadata and controls

81 lines (53 loc) · 998 Bytes

Description

App is built using Nest framework TypeScript starter repository.

Installation

$ npm install

Configuration

These values should work on development environment without changes

Copy app config

$ cp sample.env .env

Copy db config

$ cp ormconfig.sample.json ormconfig.json

Run migrations

$ npm run migrate:up

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Lint

Check app code style

$ npm run lint

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Migrations

# up migrations
$ npm run migrate:up

# revert last migration
$ npm run migrate:revert

License

Copyright (c) 2019 Rendered Text

Distributed under the MIT License. See the file LICENSE.md in repo root.