Backend for photographer search application.
For start application you need Docker
and Go compiler
applications.
Build image
$ docker build --tag phd .
Setup database:
$ docker run --detach \
--name phdb \
--publish 5432:5432 \
--env POSTGRES_PASSWORD=postgres \
--volume phdb:/var/lib/postgresql/data \
postgres:12
Setup migration:
to do
docker build -t phd .
run --env-file .env phd
Open API spec spec.