Skip to content

javamak/urlshortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urlshortner

Simple URL shortner application using Spring Boot, Astra DB and Zookeeper.

The Docker-compose is configured to run 3 Zookeeper instances and 4 replicas of Spring boot and nginx as load balancer for the web.

To Run

First build the application and create Jar file using.

mvn package

Run below command create docker image which creates a tag urlshortenweb

docker build -t urlshortenweb .

To start the application

docker-compose up -d

Apis:

Shorten URL: http://localhost:8080/shorten?url=www.google.com

Expand URL: http://localhost:8080/L2NVGRY7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published