/shorten-url

A simple API micro-service that shortens urls

Primary LanguageJavaScriptMIT LicenseMIT

shorten-url

A NodeJS and Express application to shorten urls

Example creation:

https://aqueous-sierra-2642.herokuapp.com/new/https://www.google.com

Example creation output:

{
  "original_url": "http://www.google.com/",
  "short_url": "https://aqueous-sierra-2642.herokuapp.com/4"
}

Usage:

https://aqueous-sierra-2642.herokuapp.com/4

Will redirect to:

http://www.google.com/