Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 971 Bytes

README.md

File metadata and controls

50 lines (36 loc) · 971 Bytes

Camping Catalog microservice

A microservice for storing camping actions.

Table of Contents

Purpose

The repository implements the recording of camping actions. The microservice is API done using GraphQL, which connects on InfluxDB time-series database.

Environment variables

This microservice camping API requires microservices endpoint. For that you can set:

  • INFLUX_HOST,
  • INFLUX_PORT,
  • INFLUX_USER,
  • INFLUX_PASSWORD and
  • INFLUX_DATABASE

environment variables when running with Docker.

Examples

Camping catalog microservice query and mutation examples:

query something{
 logs {
   microservice
   message
 }
}

mutation addLog{
  createLog(microservice:"camping-test-ms", message:"test") {
      log {
        microservice
        message
      }
  }
}