Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (34 loc) · 797 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 797 Bytes

Part 1: API Service

(part 2 at the bottom)  

Running the service in docker env

docker compose up -d
make shell
make build
make run # or ./api run

 

Tests

Running tests in docker env

docker compose up -d
make shell
make test

 

Configure service for other envs see --help option

./api run --help

You can use args (1st column name) or environment (2nd column name) to update these running parameters. Docs

 

Fixtures

Injected postgres fixtures to the postgres docker container in the ./db folder which are loaded on the docker compose up first run (or volume clear)

 

Misc

Reload containers and database

docker compose down -v && docker compose up -V -d