hacky-ruadat/README.md

1005 B

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 (trip_details.id)
    • planned_event_id: Option (planned_event.id)
    • created: chrono::DateTime
  • user_trip
    • trip_details_id: i32 (trip_details.id)
    • user_id: i32 (user.id)
    • created: chrono::DateTime

TODO

  • User login
  • Admin
    • User
      • User passwort zurücksetzen
      • Cox + admin + guest setzen
  • Ausfahrten
    • CRUD planned_event
    • CRUD trip_details
    • CRUD trip
    • CRUD user_trip