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.
mvn package
docker build -t urlshortenweb .
docker-compose up -d
Shorten URL: http://localhost:8080/shorten?url=www.google.com
Expand URL: http://localhost:8080/L2NVGRY7