0.0.16 • Published 4 years ago
epi-client-service v0.0.16
Getting started
Dockerized Quickstart
- Install
dockeranddocker-composefor your OS - Run
maketo start all requisite containers for local dev - Run
make migrateto migrate and seed the dockerized DB
New Migrations
- Run
make sh - Inside the container, create the model/migration scaffolding:
yarn run sequelize model:create --name UserProfile --attributes first_name:string,last_name:string,bio:text - Run
make migrateto migrate and seed the dockerized DB
Without Docker
Install package dependencies:
$ yarn installFor development:
$ yarn devFor release:
$ yarn startTests
Run jest tests:
$ yarn testRun jest with watch mode:
$ yarn test:watchRun coverage report:
$ yarn covRun integration tests:
$ yarn test:integration0.0.16
4 years ago