Template server

This commit is contained in:
Nettika 2026-01-25 14:28:17 -08:00
parent fac1341c1f
commit a20f53340c
No known key found for this signature in database
5 changed files with 1127 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# Todo
[ ] Template a Rouille server that always returns an empty 404.
[x] Template a Rouille server that always returns an empty 404.
[ ] Create a database schema. There should just be one table for now: `projects`. The Projects table contains info about each project in the board. The table should have columns for title, created time, last modified time, percentage completed (integer), and a flag for archived. Since this is a single-user server, there doesn't need to be an metadata about whose project it is.
[ ] Create a `Project` struct that corresponds to the schema definition.
[ ] Create a module or struct at your discretion for interfacing with the database. Create functions for the following: create a project, update a project's progress, archive a project, unarchive a project, and list of all projects.