Skip to content

oabdoun/shlue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shlue Build Status

URL shortener PoC

The service has 2 endpoints:

  • shorten, that returns a short URL for a URL passed as a parameter
  • resolve, that redirects a short URL to the mapped URL

Implementation relies on:

  • redis as a key/value store for mapped URLs and as a distributed sequence generator
  • hashids as a key shortener

You can test the service deployed on Heroku:

$ curl -d 'url=https://en.wikipedia.org/wiki/URL_shortening' -X POST https://shlue.herokuapp.com/

About

URL shortener PoC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published