@@ -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 `/`.
|
||||
|
||||
Reference in New Issue
Block a user