An URL shortener utilizing Express 4. This application can tie any URL to a shorter ID which can be used to access the link afterwards.
This application has the following interface:
POST /shorten
- Parameter: URL encoded parameter link should contain an URL that should be shortened
- Returns: ID for shortened link in plain text
GET /{id}
- Returns: Redirects the user to the stored URL in case the ID is valid
This application is based on a barebones Node.js app by Heroku.