/url-shortener-example

URL Shortener using Spring Boot and Spring Data Redis

Primary LanguageJava

URL Shortener Example using Spring Boot & Redis

This example shows a simple URL Shortener implementation using

  • Spring Boot 2.1.0 (Spring Web[MVC] + Spring Data Redis)
  • Guava 18.0
  • Common Validator 1.6

URLs

  • POST /rest/url with body as long_url_string - For creating the short url from long url
  • GET /rest/url/{id} - For retrieving the long URL from short id