Open Ben-Ackerman opened 1 month ago
Endpoints.
[ ] /user This page should have new session button and view graphs button that link to the sessions page and graphs page. (maybe embed those pages instead of link. That is decision for latter.
[ ] /user/session (table of sessions) (GET/PUT/POST/DELETE) This page should contain a table of all the users sessions, and have a button for adding a new session
[ ] /user/session/# (GET/PUT/POST/DELETE) This page should include all the metadata about a session and have delete/save/complete buttons. Complete should prompt the user for closing details and validate all climbs are closed first
[ ] /user/session/#/climb (GET/PUT/POST/DELETE) This page should contain a table of all the climbs in a session, and include a button for adding a new climbs.
[ ] /user/session/#/climb/# (GET/PUT/POST/DELETE) This page will contain form data about the climb. Should have delete/save/complete buttons. Complete should prompt user to fill out closing details before saving.
[ ] /user/graph (GET) Used to get page that describes the user
[ ] /user/label (GET/PUT/POST/DELETE) This will allow us to change the labels used to describe climbs.
[ ] /user/settings (GET)
[ ] /user/settings/#name (GET/PUT/POST/DELETE) thought here is to update things like grade types aka font vs v grades
Tips to get started https://www.youtube.com/watch?v=wttTTFVrQiw
Plan (TODOs)
You will enter app and provide login (no create user page just preconfigured users)
Stage 1
Stage 2
Stage 2.5
Stage 3 nice to have
Technical Plan Use golang as language. Teml and htmx for webpage rendering. Sqlite on a volume as db. Host on digital ocean