Colophon
How this site is built, deployed, and maintained — the architecture, tooling, cost, and workflow behind danielendara.com.
Architecture
Performance
100
Accessibility
100
Best Practices
100
SEO
167
kB gzipped
Core Web Vitals
<1.0s
LCP
Largest Contentful Paint
<50ms
INP
Interaction to Next Paint
0
CLS
Cumulative Layout Shift
Measured via Lighthouse on desktop · Prerendered HTML + zoneless signals = near-instant interactivity
Zoneless Change Detection
No Zone.js overhead. Signals drive all reactivity for minimal runtime cost.
Lazy Loading + @defer
All routes and non-critical components load on demand. Initial payload is framework-only.
SSR + Prerender
Static HTML served instantly from the CDN edge. Incremental hydration activates interactivity.
Monthly Cost
~$1–2
Total monthly hosting cost for a globally distributed, HTTPS-enabled site + Content API with CDN/edge caching and custom domain. No servers to manage.
S3
~$0.02/mo
Storage
CloudFront
~$0.50–0.60/mo
Site + API edge cache
Route 53
~$0.50/mo
DNS
Content API
~$0.00–0.10/mo
Lambda + DynamoDB + CloudFront edge cache (free tier heavy)
Content API
Translations, social links, and SEO metadata are served from a serverless REST API fronted by CloudFront for edge caching, decoupling content updates from code deploys.
API Gateway
HTTP API with CORS, routes requests to Lambda functions.
Lambda
Node.js 24 (ARM64) handlers — one per endpoint, TypeScript.
DynamoDB
Single-table design, on-demand billing, sub-ms reads.
Static Fallback
If the API is unreachable, the app falls back to bundled static data — zero downtime.
Request Caching
CloudFront edge cache for /content/* (long TTL for translations) + client-side.
Rate Limiting
API Gateway throttling at 10 req/sec with 20 burst — prevents abuse at zero cost.
Input Validation
Zod schema validation on all path parameters — type-safe request handling.
Structured Logging
JSON logs with correlation IDs and request context — CloudWatch native.
CloudWatch Alarms
Error rate and 5xx alerts on all endpoints — free tier, zero config.
X-Ray Tracing
Distributed tracing across API Gateway and Lambda — free tier: 100k traces/month.