hacky-ruadat/README.md

42 lines
1005 B
Markdown

# Process
- [ ] Import rowing members -> "Firstname Lastname"
- [ ] New name -> is_guest = True
- [ ] New trip from cox: define amount of rowers
- [ ] guests only see guest trips
# Edge case
- Trip in the morning on usi rowing day
- after N people (/ cox) -> red highlighted -> queue
# Fancy
- Every cox can define which boats they use
- Link for specific trip
- Basic auth (with e.g. ekrv) to prevent spam bots? (Or on first login there are 2 input fields: name + e.g. name of "strom")
# DB
- trip
- id: i32
- cox_id: i32 (user.id)
- trip_details: Option<i32> (trip_details.id)
- planned_event_id: Option<i32> (planned_event.id)
- created: chrono::DateTime
- user_trip
- trip_details_id: i32 (trip_details.id)
- user_id: i32 (user.id)
- created: chrono::DateTime
# TODO
- [x] User login
- [x] Admin
- [x] User
- [x] User passwort zurücksetzen
- [x] Cox + admin + guest setzen
- [ ] Ausfahrten
- [x] CRUD planned_event
- [x] CRUD trip_details
- [ ] CRUD trip
- [ ] CRUD user_trip