Skip to content

Spring Boot URL shortener with PostgreSQL, caching with Caffeine, and database indexing for high-performance URL creation and access tracking.

Notifications You must be signed in to change notification settings

Kushalsg62/URL-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot URL Shortener

URL Shortener is a service that shortens a long URL into a short URL which is easier to share.

Prerequisites

  • Java 21
  • Docker

Tech Stack

  • Spring Boot
  • Spring Security
  • Spring Data JPA
  • PostgreSQL
  • FlywayDb Migrations
  • Thymeleaf
  • Bootstrap CSS
# To build Docker image with default name sivaprasadreddy/spring-boot-url-shortener
$  ./mvnw spring-boot:build-image

# To build Docker image with custom name
$  ./mvnw spring-boot:build-image -DdockerImageName=kushalsg/spring-boot-url-shortener

# To run the application using Docker Compose
$ cd docker
$ docker compose up -d

About

Spring Boot URL shortener with PostgreSQL, caching with Caffeine, and database indexing for high-performance URL creation and access tracking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published