diff --git a/readme.md b/readme.md index 11e29cf..c674cc3 100644 --- a/readme.md +++ b/readme.md @@ -4,46 +4,11 @@ This repository contains a minimal Go REST service used as the backend for the L 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: -```bash -make build -./bin/server -``` - -Run tests: - -```bash -make test -``` - -Build Docker image: - -```bash -make docker-build -``` - -Then run it: - -```bash -docker run -p 8080:8080 lambdaiot-core:latest -``` - -Integration stack (MySQL + Mosquitto + server): - ```bash cd test -docker compose up -d --build +podman compose up --build ``` \ No newline at end of file