2026-02-07 23:34:26 +01:00
2026-02-08 00:14:10 +01:00
2026-02-08 00:14:10 +01:00
2025-12-28 13:24:16 +01:00
2025-12-28 13:24:16 +01:00
2026-02-08 00:14:10 +01:00
2026-02-08 00:14:10 +01:00
2026-01-04 13:54:00 +01:00

Lambda-IoT Core

This repository contains a minimal Go REST service used as the backend for the Lambda-IoT project.

Repository: https://git.piskot.si/SeminarM2/lambdaiot-core

Features

  • HTTP API with health, greeting, auth, device CRUD, sensor creation, and MQTT ping
  • JWT-based auth middleware with demo login (admin/password)
  • MQTT client with startup publish and best-effort subscription
  • Multi-stage Dockerfile and Makefile for common tasks
  • test/docker-compose.yml spins up MySQL, Mosquitto, phpMyAdmin, and the server for local integration

Quickstart

Build and run locally:

make build
./bin/server

Run tests:

make test

Build Docker image:

make docker-build

Then run it:

docker run -p 8080:8080 lambdaiot-core:latest

Integration stack (MySQL + Mosquitto + server):

cd test
docker compose up -d --build
Description
No description provided
Readme 7.9 MiB
Languages
Go 95.8%
Python 1.6%
Shell 1.3%
Dockerfile 0.9%
Makefile 0.4%