Skip to content

Latest commit

Β 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— Scalable URL Shortener

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.


πŸš€ Features

  • βœ… 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

πŸ› οΈ Tech Stack

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

🌍 Live Demo

πŸ”— Frontend: https://url-steel.vercel.app
πŸ“₯ API Base URL: https://<your-api-id>.execute-api.ap-south-1.amazonaws.com


πŸ“ Project Structure

url/
β”œβ”€β”€ backend/               # Spring Boot backend
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ pom.xml
β”‚   └── ...
β”œβ”€β”€ frontend/              # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ package.json
β”‚   └── ...
└── README.md

🚦 API Endpoints

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"
}

πŸ’‘ Setup Instructions

πŸ”§ Backend

cd backend
./mvnw spring-boot:run
  • Configure DynamoDB or use local H2 for testing
  • Set CORS if calling backend from frontend

βš›οΈ Frontend

cd frontend
npm install
npm start

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages