0.0.16 • Published 3 years ago

epi-client-service v0.0.16

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Build Status Coverage Status

Getting started

Dockerized Quickstart

  1. Install docker and docker-compose for your OS
  2. Run make to start all requisite containers for local dev
  3. Run make migrate to migrate and seed the dockerized DB

New Migrations

  1. Run make sh
  2. Inside the container, create the model/migration scaffolding:
    yarn run sequelize model:create --name UserProfile --attributes first_name:string,last_name:string,bio:text
  3. Run make migrate to migrate and seed the dockerized DB

Without Docker

Install package dependencies:

$ yarn install

For development:

$ yarn dev

For release:

$ yarn start

Tests

Run jest tests:

$ yarn test

Run jest with watch mode:

$ yarn test:watch

Run coverage report:

$ yarn cov

Run integration tests:

$ yarn test:integration