0.0.16 • Published 3 years ago
epi-client-service v0.0.16
Getting started
Dockerized Quickstart
- Install
docker
anddocker-compose
for your OS - Run
make
to start all requisite containers for local dev - Run
make migrate
to 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 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
0.0.16
3 years ago