Add project creation endpoint

This commit is contained in:
Nettika 2026-01-25 15:11:02 -08:00
parent 8c4691e8bf
commit 497144029e
No known key found for this signature in database
2 changed files with 14 additions and 2 deletions

View file

@ -8,5 +8,5 @@
[x] Create a `project-card.js` file in src that creates a web component for displaying a project.
[x] Using a Rouille router, create `GET /main.css` and `GET /project-card.js` endpoints that returns the relevant files. Use the include_bytes! macro.
[x] Create a `GET /projects` endpoint. Using Maud for markup generation, have this endpoint return an HTML page that shows all projects. Each project should be a `project-card` web component. Keep the page simple: no title or any buttons currently.
[ ] Create a `POST /projects` endpoint that accepts URL encoded data and creates a new project.
[x] Create a `POST /projects` endpoint that accepts URL encoded data and creates a new project.
[ ] Create a `GET /new-project` endpoint that returns a HTML page with a project creation form. Keep it simple.