howto:
/index : this page
/api/shorten?url=<your long url> : get a short from a long url (400 = wrong url format)
/<shorten code> : go to url (404 if does not exist)

Fork me on GitHub