🚀 Just shipped a full-stack URL Shortener from scratch! Here's what I built and the tech behind it: 🔗 Core Features: • Shorten any long URL to a clean short link • QR code generation for every shortened URL (downloadable as PNG) • Click tracking & analytics • Optional expiry dates on links 🛠️ Tech Stack: • Backend → FastAPI (Python) with SQLAlchemy ORM • Database → PostgreSQL on AWS RDS • Frontend → Next.js + React + Tailwind CSS • Short code algorithm → Base62 encoding on auto-incremented IDs ⚙️ Key engineering decisions: → Base62 encoding on DB primary key = zero collision short codes → Moved from local Postgres to AWS RDS for production-grade persistence → CORS-configured FastAPI to talk securely with the Next.js frontend → QR codes generated client-side using qrcode.react — no extra API calls Building this taught me a lot about full-stack architecture, cloud databases, and API design. Always more to add — custom domains, auth, dashboards — but shipping > perfecting. Open to feedback from anyone who's built something similar! 👇 #Python #FastAPI #NextJS #React #AWS #FullStack #WebDevelopment #BuildInPublic #SoftWareEngineer

To view or add a comment, sign in

Explore content categories