Scaffold SvelteKit app with Postgres + deploy to Tailscale funnel #2
No reviewers
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/westside-app!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "1-scaffold-sveltekit-app-with-postgres-dep"
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?
Summary
SvelteKit 5 app scaffolded with node adapter, connecting to the basketball-api Postgres database via DATABASE_URL env var. Includes a branded landing page with live player stats, placeholder admin/coach routes, multi-stage Dockerfile, Kubernetes manifests with Tailscale funnel ingress, and Woodpecker CI pipeline for Harbor image builds.
Changes
package.json/package-lock.json: SvelteKit 5 with node adapter, pg dependencysvelte.config.js/vite.config.js/jsconfig.json: SvelteKit build config with node adaptersrc/app.html: HTML shell with viewport meta for mobilesrc/lib/server/db.js: pg Pool using DATABASE_URL from env (no hardcoded secrets)src/routes/+layout.svelte: Global dark theme styles, Westside brand redsrc/routes/+page.server.js: Server load function querying player counts with graceful DB failure handlingsrc/routes/+page.svelte: Branded landing page with stat cards and nav linkssrc/routes/admin/+page.svelte: Placeholder admin pagesrc/routes/coach/+page.svelte: Placeholder coach pageDockerfile: Multi-stage Node 20 Alpine buildk8s/deployment.yaml: Deployment in westsidekingsandqueens namespace, DATABASE_URL from k8s secretk8s/service.yaml: ClusterIP service on port 3000k8s/ingress.yaml: Tailscale funnel ingress.woodpecker.yaml: CI pipeline building and pushing to Harbor.gitignore: Standard SvelteKit ignoresTest Plan
npm install && npm run buildsucceeds locallynpm run devstarts dev server, landing page renders at localhost:5173docker build -t westside-app .Review Checklist
Related
plan-2026-03-08-tryout-prep-- Phase 6a