Scaffold SvelteKit app with Docker Compose dev environment #1
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#1
Loading…
Add table
Add a link
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?
Lineage
plan-pal-e-docs→ Phase 2 (App Scaffold)Repo
forgejo_admin/pal-e-appUser Story
As a platform developer
I want a SvelteKit frontend connected to the pal-e-docs API
So that I can build interactive UI components for boards, notes, and project views
Context
pal-e-docs has a mature API (150+ endpoints) but no frontend beyond server-rendered HTML. This scaffolds the SvelteKit app that will become the primary UI. The API is at
https://pal-e-docs-api.tail5b443a.ts.net(external) orhttp://pal-e-docs.pal-e-docs.svc.cluster.local:8000(in-cluster).The repo was just created with auto-init. This is a greenfield scaffold.
File Targets
Files to create:
package.json— SvelteKit + adapter-node + TypeScriptsvelte.config.js— adapter-node configtsconfig.json— strict TypeScriptvite.config.ts— dev server config with API proxysrc/app.html— shell HTMLsrc/routes/+page.svelte— landing pagesrc/routes/+layout.svelte— app layout with navsrc/routes/boards/+page.svelte— list boards (proof of API connection)src/routes/boards/[slug]/+page.svelte— board view (kanban columns)src/routes/boards/[slug]/+page.server.ts— server-side data loadingsrc/lib/api.ts— typed API client wrapperdocker-compose.yml— pal-e-app dev server + pal-e-docs API (uses existing image)Dockerfile— multi-stage build (build + node:alpine runtime).woodpecker.yaml— CI: lint + build + pushCLAUDE.md— repo conventionsAcceptance Criteria
npm install && npm run devstarts dev server on port 5173docker compose upstarts both pal-e-app and pal-e-docs APIanytypes.woodpecker.yamlhas lint + build stepsTest Expectations
npm run checkpasses (svelte-check)npm run buildproduces production bundleConstraints
adapter-node(not adapter-auto or adapter-static) — we deploy to k8s+page.server.ts) for API calls — keeps API URL private/api→http://localhost:8000Checklist
Closes #1in PR bodyRelated
pal-e-docs— the API backendphase-pal-e-docs-app-scaffold— phase notephase-pal-e-docs-sprint-board-component— Phase 3, builds the kanban UI on top of this scaffold