A simple URL shortening service written in Haskell.
Uses Redis for persistance
$curl -XPUT http://localhost:8000/?uri='http://google.com'
"lVUapmW"
$curl -XGET http://localhost:8000/lVUapmW
"http://google.com"
-
clone repo
-
stack build
-
stack exec url-shortner-exe <http port> <db host> <db port> <server id>