Tutorials
Learn to build SaaS.
Practical tutorials on building modern web applications.
12 min read
Postgres Vector Search: Building a Production RAG Pipeline with pgvector and FastAPI
Build semantic search into Postgres with pgvector. Store embeddings as columns, query with SQL—no separate vector DB needed.
postgresaifastapi
Read tutorial
12 min read
FastAPI + SQLAlchemy Async: The Session Management Patterns That Actually Survive Production
Master the four-piece pattern for production-safe async session management in FastAPI + SQLAlchemy 2.0. Avoid MissingGreenlet errors, connection pool exhaustion, and hanging requests.
fastapipythonpostgres
Read tutorial
12 min read
Slash Commands and Subagents in Claude Code: Building Reusable Workflows Beyond CLAUDE.md
Turn Claude Code into an orchestration layer. Define tasks once with slash commands and subagents, then invoke them repeatedly—no re-explanation needed.
aiautomation
Read tutorial
13 min read
Multi-Tenant Architecture in a Django + FastAPI Stack: Schema, Row, and Database Isolation Trade-offs
Row, schema, or database isolation: trade-offs, migration costs, and how to choose the right PostgreSQL strategy before it's too late.
djangopostgressecurity
Read tutorial
12 min read
Vite vs Next.js: You're Probably Comparing the Wrong Two Things
They're not competitors—Vite is a build tool, Next.js is a framework. Learn what layer each sits on and how to actually choose between them.
nextjsreactperformance
Read tutorial
8 min read
PostgreSQL List Databases: The `\l` Command and Every Alternative
Master listing PostgreSQL databases with `\l`, SQL queries, and CLI flags. Covers output columns, permissions, and workarounds for restricted contexts.
postgresautomation
Read tutorial
12 min read
Git Remove Untracked Files: The Safe Way to Purge Build Artifacts and Junk
Master git clean with preview mode, selective filtering, and safety guards. Remove build artifacts without losing uncommitted work.
automationnodejs
Read tutorial