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
- Host: GitHub
- URL: https://github.com/techprimers/url-shortener-example
- Owner: TechPrimers
- Created: 2018-11-18T15:16:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T12:57:52.000Z (over 3 years ago)
- Last Synced: 2025-03-28T22:51:12.476Z (over 1 year ago)
- Language: Java
- Size: 47.9 KB
- Stars: 13
- Watchers: 1
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`