An open API service indexing awesome lists of open source software.

https://github.com/techprimers/url-shortener-example

URL Shortener using Spring Boot and Spring Data Redis
https://github.com/techprimers/url-shortener-example

Last synced: over 1 year ago
JSON representation

URL Shortener using Spring Boot and Spring Data Redis

Awesome Lists containing this project

README

          

# 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`