api-problemreport

module
v0.0.0-...-4f36034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2021 License: AGPL-3.0

README

Introduction

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

Building and tagging with Docker

docker build -f deployments/Dockerfile -t diwise/api-problemreport:latest .

Build for local testing with Docker Compose

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

Running locally with Docker Compose

docker compose -f ./deployments/docker-compose.yaml 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.yaml 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

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL