From 3fdb73030b59d7b05fc48b0a5a0a2b8336522362 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Fri, 4 Apr 2025 20:39:17 +0200 Subject: [PATCH] add first thoughts --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8938706 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# Stationslauf + +## Techstack + +- Rust + Axum as backend +- Maud as template engine +- sqlite as DB +- HTMX as frontend + +## DB Modell + +- group + - id + - name + - 'pfadigruppe' + - notes + - amount_people + - first_station_id -> station +- station + - id + - name + - amount_people + - last_login + - pw (6-8 auto-generated chars, printed on qr code) + - lat/lng +- group_station + - group_id + - station_id + - points + - notes + - arrived_at + - started_at + - left_at +- path + - id + - name // e.g. 'wiwö' +- path_station // TODO: better name + - path_id + - station_id + - pos // arrange stations on the path, second order -> station_id? + + +## Fancy features +- see when a group starts going to your direction +- QR codes for groups, stations can then scan it? +- View all groups: where have they last made contact with *any* station? +- View single group: which stations are they still missing? +- Rangliste