Commit Graph

23 Commits

Author SHA1 Message Date
Matthew Gordon a08a7cac27 Add scripts to run Postgres in docker
Run a Postgres docker image for (manual) testing
2024-03-01 22:41:09 -04:00
Matthew Gordon 2bdbbbc1fb Fix type on docs 2024-03-01 22:39:07 -04:00
Matthew Gordon 242965450a Remove thiserror and continue error handling improvements 2024-02-28 12:07:12 -04:00
Matthew Gordon fbb320507a Add tests and improve error handling 2024-02-27 22:39:13 -04:00
Matthew Gordon 841b16986b Move admin module into app module 2024-02-26 15:10:09 -04:00
Matthew Gordon 1fab78ff96 Make a trait to allow dependence injection 2024-02-26 13:12:31 -04:00
Matthew Gordon af2fb99ad9 Alphabetize dependencies in Cargo.toml 2024-02-26 11:53:47 -04:00
Matthew Gordon 95362c8a99 Setup and authentication WIP
- Add page for creating intial admin user
- Add JWT for authentication of logged-in users
- Add tracing
- Some improvements to error handling
2024-02-26 11:13:32 -04:00
Matthew Gordon 54350e3919 WIP User authentication and first-time set-up
Also other smaller things.
2024-02-19 21:55:15 -04:00
Matthew Gordon a2887ecc36 Rename to Locality 2024-02-19 21:55:15 -04:00
Matthew Gordon 5ad4f80fc1 Add migrations and other foundational database stuff 2024-02-19 21:55:15 -04:00
Matthew Gordon 8663a271dc Add DB migrations table 2024-02-19 21:55:15 -04:00
Matthew Gordon c502f87fa3 Simplify db code by removing r2d2 2024-02-19 21:55:15 -04:00
Matthew Gordon d18ce42938 Move route handlers into app module 2024-02-12 21:59:29 -04:00
Matthew Gordon 3402cb799d Move config into module and improve error handling 2024-02-12 21:38:36 -04:00
Matthew Gordon efc04fa8e5 Replace ORM with plain SQL
Also move DB stuff into module.
2024-02-12 21:37:30 -04:00
Matthew Gordon 787a32eabc Add postgres DB with diesel. Possibly this was a mistake. 2024-02-10 23:34:53 -04:00
Matthew Gordon 563c32131d Rename env variable to be less ambiguous 2024-02-10 23:22:47 -04:00
Matthew Gordon 5e90f3436a Add static file serving with favicons
- Serve the "static" directory as static files.
- Add favicons.
2024-02-10 14:17:45 -04:00
Matthew Gordon 856482ce17 Stub in Axum templating 2024-02-10 13:16:37 -04:00
Matthew Gordon 70842b1db2 Create stub Axum app 2024-02-10 12:57:20 -04:00
Matthew Gordon 02af71212e Add Emacs lock and backup files to .gitignore 2024-02-10 12:56:48 -04:00
Matthew Gordon 89c3ee2cfc Initial commit 2024-02-10 16:06:33 +00:00