Serverless URL Shortener
A serverless URL shortener built on AWS exploring event-driven architecture with Lambda, API Gateway, and DynamoDB.
Note: Due to the default API Gateway URL length, this currently behaves more like a “URL lengthener” 😅
Custom domain support would fix this.
The Project
A serverless URL shortener built on AWS, designed to handle URL generation and redirection without managing any backend infrastructure.
The system creates unique short IDs for long URLs and resolves them through a lightweight API, enabling fast redirection using HTTP responses.
I implemented the architecture using API Gateway, Lambda, and DynamoDB, with a static frontend hosted on S3. The focus was on understanding serverless design patterns, service integration, and building a fully deployed cloud-based application with automated delivery.
Key points
Serverless architecture using AWS (API Gateway, Lambda, DynamoDB)URL shortening with unique ID generationHTTP 302 redirection handlingREST API design (POST /shorten, GET /{id})Persistent key-value storage with DynamoDBStatic frontend hosted on S3CI/CD pipeline using GitHub ActionsIntegration challenges (CORS, service communication)