Skip to content

godolatunji/microservice-start-kit

Repository files navigation

Microservice Start Kit

Description

The microservice start kit is based on Nestjs. Nestjs Documentation can be found here. The default database is postgres.

Requirements

Installation

$ yarn

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

Migrations

To create a new empty migration file under src/database/migrations

yarn create-migration -n CreateUserTable 

To generate a migration based on schema changes or addition of new entity

yarn gen-migration -n CreateUserTable 

To run migration

yarn migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published