Url-Shortener
Build a URL Shortener from Scratch — Part 5: Analytics, Docker, and Deployment
Final part: Add click analytics with IP geolocation, Dockerize the application, and deploy to production with docker-compose.
Build a URL Shortener from Scratch — Part 4: Redis Caching for Fast Redirects
Part 4: Add Redis caching to the URL shortener for sub-millisecond redirects. Implement cache-aside pattern with read-through and write-through strategies.
Build a URL Shortener from Scratch — Part 3: API Endpoints with FastAPI
Part 3: Build FastAPI endpoints for creating short URLs and redirecting. Includes request validation, error handling, and Pydantic schemas.
Build a URL Shortener from Scratch — Part 2: Database Schema and Base62 Encoding
Part 2: Design PostgreSQL schema for URL shortener with Alembic migrations. Implement Base62 encoding/decoding for short code generation.
Build a URL Shortener from Scratch — Part 1: Requirements and Architecture
Part 1 of building a production URL shortener. Define requirements, architecture, and technology choices for a scalable link-shortening service.