Add a login button

This commit is contained in:
Nettika 2026-01-25 17:09:52 -08:00
parent dc167fd8a0
commit 5e28192a64
No known key found for this signature in database
2 changed files with 19 additions and 5 deletions

View file

@ -15,7 +15,7 @@
[x] Add a rouille::session manager to set a session cookie.
[x] Create a `POST /login` endpoint that validates credentials against USERNAME and PASSWORD environment variables.
[x] Protect write endpoints (POST /projects, and any future write operations) with authentication. Redirect to /login if not authenticated.
[ ] Add a login button to the front page (GET /projects) that links to /login.
[ ] When logged in, show a "Create Project" button on the front page that links to /new-project.
[x] Add a login button to the front page (GET /projects) that links to /login.
[x] When logged in, show a "Create Project" button on the front page that links to /new-project.
[ ] When logged in, add an edit icon to each project-card web component. Clicking the icon opens a dialog with a form to update the progress percentage and archive/unarchive the project.
[ ] Create POST endpoints for updating project progress and archiving/unarchiving projects (these will be called from the edit dialog).