49 lines
884 B
Markdown
49 lines
884 B
Markdown
# 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
|