Core graphql server for registree.
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# create .env from .env.tests
$ cp .env.tests .env
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
The repository contains a goss spec to validate the built Docker image.
To run the validation:
dgoss run --env-file .env registree-core_registree-core
Transcript of interactively drafting the goss tests:
$ docker-compose build
$ dgoss edit --env-file .env registree-core_registree-core
/goss $ goss add process node
/goss $ goss add port 3000