Project for the FreeCodeCamp.com backend certification program.
Accepts a url as a parameter, and returns a shortened version of that url:
https://blooming-depths-14692.herokuapp.com/new/http://www.taobao.com
Will return:
{"original_url":"http://www.taobao.com","short_url":"kAeNl"}
The short url will redirect to the original, long url:
https://blooming-depths-14692.herokuapp.com/kAeNl
redirects to:
http://www.taobao.com