URL Shortener

Spring Boot Thymeleaf MongoDB html css Docker

SHORTxURL is a Spring Boot web project that provides URL shortening functionality. It shortens your long URL with a custom name! Making sharing easier.

URL Shortener Screenshot 1
Blog Post View

About the Project

SHORTxURL is a simple and fast URL shortener built with Spring Boot and Thymeleaf. No login or registration is required—just visit the site, enter your long URL, and get a short, shareable link instantly.

Each shortened URL is valid for 28 days from creation. After 28 days, the short link and its mapping are automatically deleted for privacy and storage efficiency.

Key Features

Instant URL Shortening

Quickly shorten long URLs with a custom alias, no login required.

28-Day Expiry

Shortened links automatically expire and are deleted after 28 days for privacy and storage efficiency.

Click Analytics

Track the number of times your short link is clicked (coming soon).

Not Added Yet

Custom Alias

Choose your own short URL ending for easy sharing and recall.

Technical Implementation

The application follows a clean MVC architecture with these main components:

  • Controllers: Handle HTTP requests, process user input, and return views.
  • Services: Contain business logic and interact with repositories.
  • Repositories: Interface with MongoDB for data persistence.
  • Models: Define URL mapping and related entities.
  • Views: Thymeleaf templates for rendering the HTML UI.

Database Schema

The application uses MongoDB with a simple schema:

  • ShortUrl: Stores the original URL, custom alias, creation date.

No user accounts or authentication are required. Each short URL is stored with its metadata and is automatically deleted after 28 days.

Project Information

Tech Stack

Java 21
Spring Boot Thymeleaf MongoDB html css Docker

Timeline

Started: March 18, 2024
Completed: Jul 3, 2024
Last Updated: June 17, 2025

Contributors

Other Projects You Might Like

Basic ChatBot

Blogging Website

A simple blog project enabling users to create, read, update, and delete .

Java 21
Spring Boot 3.3.1
Thymeleaf
MongoDB
Spring Security
JavaScript
html
css
Docker
Markdown
Blogging Website Homepage

SecureTOTP

A simple blog project enabling users to create, read, update, and delete

Java
Spring Boot
Spring microservices
MongoDB
Spring Security
oauth2
Jwt
Spring mail
html
css
JavaScript
Docker
Basic ChatBot

Basic ChatBot

Simple ChatBot Using Java Servlet JSP.

html css JSP Servlet

Let's Connect

Feel free to reach out for collaborations or just a friendly hello 👋

Follow Me

© 2025 Manish. All rights reserved. This site and its contents are protected by applicable copyright laws.