Skip to content

Latest commit

 

History

History
79 lines (61 loc) · 1.94 KB

README.md

File metadata and controls

79 lines (61 loc) · 1.94 KB

IoTwin | Backend

GitHub go.mod Go version of a Go module Go CodeQL MIT License

Table of Contents


Features

  • Telemetry data collection [mqtt-subscriber]
  • Telemetry data processing [kafka producer]
  • Telemetry management [db]
  • Alert management [db]

Prerequisites

  1. Go
  2. Docker Engine
  3. Docker Compose (please see the docker.compose file)
  4. Kafka
  5. MQTT Broker
  6. DB (PostgreSQL/MySQL/CockroachDB)

Setup

git clone https://github.com/muratalkan/iotwin-backend.git
go run ./iotwin-backend/main.go

Configuration

default ".env" file

BACKEND_HOST=localhost 

DB_HOST=localhost
DB_PORT=
DB_NAME=
DB_USER=
DB_PASSWORD=
DB_CERT=
DB_KEY=

MQTT_HOST=localhost
MQTT_PORT=1883
MQTT_CLIENT=
MQTT_TOPIC=
MQTT_USER=
MQTT_PASSWORD=
MQTT_QOS=1
MQTT_CERT=
MQTT_KEY=

KAFKA_BROKERS=['locahost:9091', 'localhost:9092', 'localhost:9093']

Roadmap

  • Code Optimization
  • Advanced Security
  • Logging
  • Dockerizing
  • Testing

License

Licensed under the MIT License 2022 - Murat Alkan

[Back to top]