Blueprint · Full-Stack Reference Architecture

KERNSTACK Full-Stack Platform Reference Demo (kernstack init --demo)

Platform demonstration: web app plus REST, GraphQL, tables, websockets, presigned upload, image transform, worker volumes, and a workflow with human approval. Scaffold the complete multi-service architecture in one command.

One-Command CLI Initialization

CLI Command platform-demo
kernstack init my-platform --demo

Every core KERNSTACK capability in one runnable repo

The platform-full-stack-demo blueprint (scaffolded via kernstack init --demo) is the canonical reference architecture for the Software Lifecycle Cloud. It combines a SvelteKit static frontend in apps/web with nine Go WebAssembly functions, two container workers, serverless tables, presigned bucket uploads, frozen worker volumes, WebSocket routes, and a multi-step human-approval workflow.

Instead of stitching together separate tutorials for API Gateway, Lambda, DynamoDB, S3, Step Functions, and Vercel, engineering teams can inspect and deploy the entire integrated graph from a single stack.json.

  • SvelteKit SPA deployed to a CDN-backed prefix bucket route
  • REST and GraphQL APIs plus real-time WebSocket connections on Go functions
  • Presigned browser uploads to Buckets with background image transformation workers
  • Movie-night human-in-the-loop workflow demonstrating pause, approval, and resume

How to use the reference demo as a production foundation

Teams frequently clone the platform demo into a fresh staging environment, ask @agent or Cursor to prune unused routes, and adapt the tables and workflows to their domain model.

The movie-night workflow is the piece to study if you need a pause for a person. It stops, waits for an approval recorded on the project, and resumes on the same run. The image worker and the presigned upload show the bucket path: the browser never receives a storage key, and the transform runs as a worker rather than inside the request that issued the URL.

SvelteKit in this demo is a static app on a prefix route. REST and GraphQL functions are Go WebAssembly. WebSocket routes share the gateway with those HTTP routes. Nothing in the demo asks you to create a second project for the frontend, the API, or the workflow. Delete the sample domain, keep the resource kinds, and the plan diff is the review.

Frequently asked questions

It scaffolds a complete multi-service project containing a SvelteKit frontend, 9 Go functions (REST, GraphQL, tables, websockets, uploads, volumes, workflows), 2 workers, and a full stack.json.

Yes. Because every resource scales to zero when idle, running and testing the platform demo consumes only a handful of credits.

Yes. Agents work on an isolated branch and sandbox environment, and kernstack plan previews every resource change before apply.

Related capabilities, architectures, and comparisons

Ship your stack on the Software Lifecycle Cloud.

Closed preview on dedicated European infrastructure. Bring a repository or start from a blueprint.