add todo ui
CI / Test + coverage (push) Successful in 30s

This commit is contained in:
2026-09-19 07:57:24 -09:00
parent 31e03d552b
commit 64d1a35da2
5 changed files with 201 additions and 11 deletions
+3 -1
View File
@@ -137,7 +137,9 @@ restarts), so switch it off when you're done.
`ui/` is a [re-frame](https://github.com/day8/re-frame) app (ClojureScript, React 19 via
[Reagent](https://reagent-project.github.io/)) built with [shadow-cljs](https://github.com/thheller/shadow-cljs).
It's a small calculator form that calls `GET /api/add` and shows the sum (or the server's
validation error).
validation error). Below it, once you're logged in, is a todo list (add, tick off, delete) backed by
`/api/todos`; it stays hidden when you're not. A "Log in" / "Log out" link sits in the footer row
next to the API docs links.
shadow-cljs compiles it into `resources/public/js/` (git-ignored). The server serves that
directory at `/js`, and serves `resources/public/index.html`, the shell that mounts the app, at `/`.