public repo
URL Shortener
Solo
REST API that shortens URLs, tracks click counts, and caches hot redirects in Redis. Deployed via Terraform to AWS ECS Fargate + RDS, with GitHub Actions building and pushing the image on every merge to main.
- Terraform provisions ECS Fargate, RDS Postgres, ECR, and IAM — full infra as code
- CI/CD: GitHub Actions runs tests, builds the image, and pushes to GHCR on every merge
- Redis cache on the redirect path — cold misses fall back to PostgreSQL and warm the cache
- Idempotent shortening: same URL in → same code out, atomic click counter
- Also ported to Python/FastAPI — see shortlink-api below