Skip to content

A Spring Boot-based URL Shortener backend application. It provides RESTful APIs to shorten long URLs, redirect to original URLs, and manage URL mappings. Built with Java, Spring Boot, and Maven.

Notifications You must be signed in to change notification settings

AbhishekU19/URL-Shortener-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener Backend

A Spring Boot-based backend application for shortening URLs. This service allows users to generate short links for long URLs, redirect to the original URLs, and manage their shortened links.

Features

  • Shorten long URLs to compact, shareable links
  • Redirect short URLs to their original destinations
  • RESTful API endpoints for URL management
  • Persistent storage using a relational database
  • Error handling for invalid or expired URLs

Technologies Used

  • Java 17+
  • Spring Boot
  • Maven
  • JPA/Hibernate
  • H2 (default) or MySQL/PostgreSQL (configurable)
  • Lombok (for boilerplate code reduction)
  • Redis for caching

Getting Started

Prerequisites

  • Java 17 or higher
  • Maven

Installation

  1. Clone the repository:
    git clone https://github.com/AbhishekU19/URL-Shortener-Project.git
    cd URL-Shortener-Project

About

A Spring Boot-based URL Shortener backend application. It provides RESTful APIs to shorten long URLs, redirect to original URLs, and manage URL mappings. Built with Java, Spring Boot, and Maven.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages