A full-stack URL Shortener built with Spring Boot and React, designed to convert long URLs into short, shareable links and redirect users efficiently.
A full-stack URL Shortener web application that converts long URLs into short, shareable links and redirects users to the original URL when accessed. This project demonstrates real-world full-stack development using Spring Boot for the backend and React for the frontend.
Generate short URLs from long URLs
Fast redirection to original URLs
RESTful API architecture
Clean and responsive UI
Input validation & exception handling
CORS-enabled frontend–backend communication
Cloud deployment (production-ready)
Convert long URLs into short URLs
Redirect short URLs to original URLs
RESTful API-based backend
Simple and responsive frontend UI
Input validation and error handling
Client–server communication using HTTP
Deployed frontend and backend
Live Demo links can be added here once deployed.
url-shortener-backend
├── controller
├── service
├── repository
├── model
├── exception
└── UrlShortenerApplication.java
url-shortener-frontend
├── src
│ ├── components
│ ├── services
│ ├── App.js
│ └── index.js
POST /api/shorten
Request Body:
{
"originalUrl": "https://example.com"
}
Response:
{
"shortUrl": "http://localhost:8080/abc123"
}
GET /{shortCode}
Redirects user to the original URL.
application.propertiesbash
npm install
3. Start development server
bash
npm start
JOLIYA D Aspiring Software Engineer | Full Stack Developer GitHub: https://github.com/joliyaD
This project is licensed under the MIT License.
$ claude mcp add urlshortener-backend \
-- python -m otcore.mcp_server <graph>