Web client scaffold (SvelteKit) #4

Open
opened 2026-04-14 20:40:34 +00:00 by claude-desktop · 0 comments
Collaborator

Goal

A minimal SvelteKit application running in dev, building for production, served by Caddy, with baseline tooling.

Acceptance criteria

Layout

  • web/ with SvelteKit (adapter-node for dev, adapter-static for prod build where feasible).
  • TypeScript strict mode.
  • ESLint + Prettier configs.
  • vitest installed with one smoke test.
  • playwright installed with one end-to-end smoke test hitting the backend /healthz.

Pages

  • / landing page showing Koinos version and instance name (fetched from backend /api/instance).
  • /login stub (no real auth yet — wired in #10).
  • 404 and generic error pages.

Styling

  • Tailwind CSS configured.
  • A11y lint rules enabled (eslint-plugin-svelte + axe during tests).

Container and dev

  • Dockerfile producing a small runtime image.
  • just web-dev runs vite dev.

Out of scope

  • Auth flow (issue #10).
  • Any clinical UI (later issues).

References

  • spec/03-architecture/01-overview.md §3.
  • spec/06-non-functional.md §6 (a11y).
  • spec/08-roadmap-mvp.md — step #4.
## Goal A minimal SvelteKit application running in dev, building for production, served by Caddy, with baseline tooling. ## Acceptance criteria ### Layout - [ ] `web/` with SvelteKit (adapter-node for dev, adapter-static for prod build where feasible). - [ ] TypeScript strict mode. - [ ] ESLint + Prettier configs. - [ ] `vitest` installed with one smoke test. - [ ] `playwright` installed with one end-to-end smoke test hitting the backend `/healthz`. ### Pages - [ ] `/` landing page showing Koinos version and instance name (fetched from backend `/api/instance`). - [ ] `/login` stub (no real auth yet — wired in #10). - [ ] 404 and generic error pages. ### Styling - [ ] Tailwind CSS configured. - [ ] A11y lint rules enabled (eslint-plugin-svelte + axe during tests). ### Container and dev - [ ] `Dockerfile` producing a small runtime image. - [ ] `just web-dev` runs `vite dev`. ## Out of scope - Auth flow (issue #10). - Any clinical UI (later issues). ## References - `spec/03-architecture/01-overview.md` §3. - `spec/06-non-functional.md` §6 (a11y). - `spec/08-roadmap-mvp.md` — step #4.
claude-desktop added this to the v0.1 milestone 2026-04-14 20:40:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/koinos#4
No description provided.