A simple API micro-service that shortens urls
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
app.js
favicon.ico
index.html
package.json

README.md

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/