api-snowdepth

module
v0.0.0-...-2a740e3 Latest Latest
Warning

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

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

README

Introduction

This service is responsible for storing snowdepth telemetry and provide it to consumers via an API.

Deprecation Notice

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

Building and tagging with Docker

docker build -f deployments/Dockerfile -t iot-for-tillgenglighet/api-snowdepth: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.

Directories

Path Synopsis
cmd
internal
pkg/graphql
THIS CODE IS A STARTING POINT ONLY.
THIS CODE IS A STARTING POINT ONLY.
pkg

Jump to

Keyboard shortcuts

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