Skip to content

Rudraprasadd/url_shortener_SpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🚀 Url Shortener (A Simple URL Shortener Application using Spring Boot and Java)

📖 Description

The Url Shortener Application is a simple web application that allows users to shorten long URLs into shorter ones. The application uses Spring Boot and Java to provide a robust and scalable solution. The application is designed to be highly available and fault-tolerant, with features such as caching and load balancing.

The application provides a simple and intuitive user interface for users to shorten URLs. Users can enter a long URL, and the application will generate a unique short URL that can be shared with others. The application also provides features such as URL statistics, allowing users to track the number of times a URL has been accessed.

The application is built using Spring Boot, which provides a simple and efficient way to build web applications. The application uses Java as the programming language, which provides a robust and scalable solution.

✨ Features

  1. URL Shortening: The application allows users to shorten long URLs into shorter ones.
  2. URL Statistics: The application provides features such as URL statistics, allowing users to track the number of times a URL has been accessed.
  3. Caching: The application uses caching to improve performance and reduce the load on the database.
  4. Load Balancing: The application uses load balancing to improve availability and reduce the risk of downtime.
  5. Security: The application provides robust security features, including encryption and authentication.
  6. User Interface: The application provides a simple and intuitive user interface for users to shorten URLs.
  7. RESTful API: The application provides a RESTful API for users to interact with the application.
  8. Database: The application uses a database to store URL statistics and other data.

🧰 Tech Stack Table

Category Technology
Backend Spring Boot, Java
Database MySQL
Frontend HTML, CSS, JavaScript
Tools Maven, Git

📁 Project Structure

The project structure is as follows:

  • src/main/java: This directory contains the Java source code for the application.
  • src/main/resources: This directory contains the application resources, such as configuration files and property files.
  • src/test/java: This directory contains the Java test code for the application.
  • pom.xml: This file is the Maven build file for the application.

⚙️ How to Run

To run the application, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/url-shortener.git
  2. Build the application: mvn clean package
  3. Run the application: java -jar target/url-shortener-0.0.1-SNAPSHOT.jar
  4. Access the application: http://localhost:8080

🧪 Testing Instructions

To test the application, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/url-shortener.git
  2. Build the application: mvn clean package
  3. Run the application: java -jar target/url-shortener-0.0.1-SNAPSHOT.jar
  4. Access the application: http://localhost:8080
  5. Use the application to shorten a URL and verify that the URL is shortened correctly.

📸 Screenshots

Screenshot 2025-07-31 134806 Screenshot 2025-07-31 134907 Screenshot 2025-07-31 152010

📦 API Reference

The application provides a RESTful API for users to interact with the application. The API is documented using Swagger.

👤 Author

The application was developed by [Rudraprasad Satapathy].

📝 License

The application is licensed under the Apache License, Version 2.0.

I hope this README is helpful! Let me know if you have any questions or need further assistance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published