docs: clean up docs structure

This commit is contained in:
2026-02-08 00:24:24 +01:00
parent d9db2596ca
commit afd95908f1
5 changed files with 1050 additions and 26 deletions

1048
docs/API.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
# Lambda-IoT Core
# Lambda IoT Core
This repository contains a minimal Go REST service used as the backend for the Lambda-IoT project.
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

Binary file not shown.

View File

@@ -1,24 +0,0 @@
# Test compose
This folder contains a simple Docker Compose stack to run the Go server together with a MySQL database, an MQTT broker, and a Python subscriber client.
Quickstart:
```bash
cd test
docker compose up --build
```
- The Go server is built from the repository `Dockerfile` and is configured via environment variables in `docker-compose.yml`.
- The MySQL database is initialized with the schema from `../ai-improved.sql`.
- The MQTT broker is `eclipse-mosquitto` and is exposed on port `1883`.
- The `subscriber` service runs `subscribe.py` and prints any messages published to the `lambdaiot` topic.
To run the Python subscriber locally instead of in Docker:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
MQTT_BROKER=localhost:1883 MQTT_TOPIC=lambdaiot python subscribe.py
```