This service is makes it possible to store problem reports via an API using graphql
This repository is deprecated and the code has moved to https://github.com/diwise/api-problemreport
docker build -f deployments/Dockerfile -t iot-for-tillgenglighet/api-problemreport:latest .
docker-compose -f ./deployments/docker-compose.yml build
docker-compose -f ./deployments/docker-compose.yml up
The ingress service will exit fatally and restart a couple of times until the RabbitMQ container is properly initialized and ready to accept connections. This is to be expected.
docker-compose -f ./deployments/docker-compose.yml down -v
To clean up the environment properly after testing.
go run github.com/99designs/gqlgen -v -c internal/pkg/graphql/gqlgen.yml