expense-log example: step 1 — skeleton module + Mill build + /health endpoint #23
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/support#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #22 — first implementation step toward the reference expense-log example.
Goal
Stand up the empty
examples/expense-logmodule group with Mill build wiring and a single trivial HTTP endpoint, so subsequent steps have a place to land code and CI has something to compile.This is intentionally minimal: no OIDC, no UI, no domain model yet. Just the skeleton.
Scope
examples/expense-log/in the repo, not published.scenarios/scenariosUIare wired). Cross-compilation is not required at this step — JVM only is fine; ScalaJS/Vite get added when UI work starts.examples/expense-log/server— JVM module with the http server bootstrap and a single Tapir endpointGET /healthreturning{"status":"ok"}.examples/expense-log/README.mdwith:./mill examples.expenseLog.server.runBackgroundor whatever the canonical Mill task is),Out of scope (deferred to later steps)
/health(step 5).Acceptance criteria
examples/expense-log/serverexists with build wiring and compiles.GET /healthreturns200with{"status":"ok"}.examples/expense-log/README.mdexists and explains current state + link to #22.mill __.compilesucceeds for the whole repo.Notes for the implementer
scenarios/scenariosUIare wired inbuild.millfor the rightBaseModule/BaseScalaJSModuleconventions.server/httpandtapirmodules as dependencies — that's exactly what we're showcasing.PURPOSE:comment convention from CLAUDE.md.8080is fine for now; we'll revisit when docker-compose for the IdP is added).