Skip to content

REST API based on Typescript, Nest.js and TypeORM for healthcare

Notifications You must be signed in to change notification settings

0xalpha0123/Healthcare-REST-API

Repository files navigation

Running database

# development
$ docker-compose up dev

# development in background(detach)
$ docker-compose up -d dev

# production mode
$ docker-compose up prod

# after updating package.json
$ docker-compose up --build -V -d dev

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Migrations

# create migration
$ npm run migration:create -- <Migration_Name>

# run migrations
$ npm run migration:run

# revert migration
$ npm run migration:revert

# generate migrations
$ npm run migration:generate -- <Migration_Name>

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

REST API based on Typescript, Nest.js and TypeORM for healthcare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages