Shorty is a simple URL shortener service built using AWS Lambda, API Gateway, DynamoDB, and the Serverless Framework.
- Shorten long URLs to compact, shareable links
- Redirect users to the original URL
- Serverless architecture for scalability and low cost
- AWS Lambda: Handles URL creation and redirection logic
- API Gateway: Exposes RESTful endpoints
- DynamoDB: Stores URL mappings
- Serverless Framework: Simplifies deployment and infrastructure management
- Next.Js: For the client app
- Clone the repository
- Navigate to backend folder:
cd backend - Install dependencies:
npm install - Deploy with Serverless:
serverless deploy
POST /shorten– Create a short URLGET /{shortCode}– Redirect to the original URL