Transform your long URLs into short, powerful links with analytics-friendly capabilities.
This is a full-stack URL shortener built with React on the frontend and Spring Boot on the backend, integrated with AWS services for scalability and performance.
- β Convert long URLs into short, shareable links
- π₯ Redirect using short keys
- π Validations & error handling
- π Deployed on AWS using API Gateway & Lambda
- π§ Scalable backend with Spring Boot & DynamoDB
- βοΈ Responsive UI with React.js
| Layer | Technology |
|---|---|
| Frontend | React, Tailwind CSS |
| Backend | Spring Boot, Java |
| Database | DynamoDB (NoSQL - AWS) |
| Hosting | AWS Lambda, API Gateway |
| Deployment | Vercel (Frontend), AWS (Backend) |
| Version Ctrl | Git + GitHub |
π Frontend: https://url-steel.vercel.app
π₯ API Base URL: https://<your-api-id>.execute-api.ap-south-1.amazonaws.com
url/
βββ backend/ # Spring Boot backend
β βββ src/
β βββ pom.xml
β βββ ...
βββ frontend/ # React frontend
β βββ src/
β βββ package.json
β βββ ...
βββ README.md
| Method | Endpoint | Description |
|---|---|---|
| POST | /shorten |
Create a short URL |
| GET | /{shortKey} |
Redirect to original URL |
Example:
POST /shorten
{
"longUrl": "https://example.com/very/long/link"
}
Response:
{
"shortKey": "abc123",
"shortUrl": "https://<api-url>/abc123"
}
cd backend
./mvnw spring-boot:run
- Configure DynamoDB or use local H2 for testing
- Set CORS if calling backend from frontend
cd frontend
npm install
npm start