Categorygithub.com/iot-for-tillgenglighet/api-problemreport
module
0.0.0-20210513144110-03239981a4ca
Repository: https://github.com/iot-for-tillgenglighet/api-problemreport.git
Documentation: pkg.go.dev

# README

Introduction

This service is makes it possible to store problem reports via an API using graphql

Deprecation Notice

This repository is deprecated and the code has moved to https://github.com/diwise/api-problemreport

Building and tagging with Docker

docker build -f deployments/Dockerfile -t iot-for-tillgenglighet/api-problemreport:latest .

Build for local testing with Docker Compose

docker-compose -f ./deployments/docker-compose.yml build

Running locally with Docker Compose

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.

Clean up the environment

docker-compose -f ./deployments/docker-compose.yml down -v

To clean up the environment properly after testing.

Regenerate GraphQL files

go run github.com/99designs/gqlgen -v -c internal/pkg/graphql/gqlgen.yml

# Packages

No description provided by the author
No description provided by the author