About
This template is a working starter that demonstrates the Hereya serverless story:
- Astro static frontend served from S3 through CloudFront
-
Hono backend on Lambda, mounted at
/api/*on the same CloudFront distribution - Aurora Serverless v2 accessed via the Data API (no VPC required)
- DynamoDB for sessions + RBAC (users, roles, permissions)
- Passwordless auth via Cognito Custom Auth Flow + Postmark email
No CORS, no separate API origin — a single distribution serves both the static frontend and the API.