Tutorials
Learn to build SaaS.
Practical tutorials on building modern web applications.
12 min read
Streaming LLM Responses from FastAPI to Next.js with the OpenAI and Anthropic APIs
End-to-end streaming setup for OpenAI and Anthropic APIs across FastAPI and Next.js. Cover backend generators, SDK differences, error handling, and production patterns.
fastapinextjsai
Read tutorial
13 min read
Building MCP Servers for Claude Code: A Production Pattern for Custom Tooling
Deploy custom MCP servers that give Claude safe, structured access to your APIs and databases—a production-ready pattern from infrastructure first principles.
ainodejstypescript
Read tutorial
4 min read
Golang Compare: A Practical Guide to Equality, Ordering, and Deep Inspection
Master Go's comparison semantics: when == works, why slices and maps don't, and production-tested patterns for safe equality checks across types.
golangtesting
Read tutorial
4 min read
`strpos` in PHP: Stop Getting Bitten by the Zero-Position Bug
Why `strpos` returns false AND 0, and how to check correctly. A production-hardened guide to the classic PHP footgun.
phpsecurity
Read tutorial
4 min read
Secrets Management for a Dockerised Stack: AWS Secrets Manager, SSM, and Local .env Parity
Production-ready pattern: AWS Secrets Manager and SSM Parameter Store for deployed environments, with genuine local .env parity—not aspirational.
awsdocker
Read tutorial
5 min read
Cloudflare in Front of an ECS App: WAF, Cache Rules, and Tunnels for the Full-Stack Stack
Deploy Cloudflare's WAF, cache rules, and tunnels in front of ECS workloads. Production patterns for session handling, cache invalidation, and private routing—without the enterprise overhead.
Read tutorial
3 min read
Full-Text Search in PostgreSQL vs. Reaching for Elasticsearch: A Pragmatic Decision Guide
Learn when PostgreSQL's native full-text search suffices and when Elasticsearch becomes necessary. A senior engineer's pragmatic guide to avoiding premature infrastructure complexity.
Read tutorial