Skip to content

vijayanant/url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortner

A simple URL shortening service written in Haskell.

Uses Redis for persistance

APIs

Create

$curl -XPUT http://localhost:8000/?uri='http://google.com'
"lVUapmW"

Retrieve

$curl -XGET http://localhost:8000/lVUapmW
"http://google.com"

Build

  • clone repo

  • stack build

  • stack exec url-shortner-exe <http port> <db host> <db port> <server id>

About

Simple Short-URL service - Haskell + Redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published