What problem does it solve?
This pattern provides a complete, scalable solution for building a single-user meal planner SPA with a production-grade serverless backend, enabling fast front-end development and reliable data persistence.
Core Features & Use Cases
- TanStack Start SPA mode with static hosting and file-based routing for a fast, developer-friendly frontend.
- Lambda-per-route architecture for independent scaling, isolated bundles, and fine-grained IAM control.
- DynamoDB single-table design with PK/SK patterns and a GSI for alternative query paths.
- HTTP API (v2) with built-in CORS support, optimized for SPA frontends.
- S3 + CloudFront static hosting for secure, scalable delivery of the frontend assets.
- AWS CDK v2 infrastructure as code for reproducible deployments and maintainable stacks.
Quick Start
Create and deploy the Meal Planner Stack to provision the frontend and API endpoints using the provided CDK project.