Skip to content

a microservice that takes long URLs and squeezes them into fewer characters to make a link that is easier to share

License

Notifications You must be signed in to change notification settings

nuhman/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

063c6ae · Sep 3, 2019

History

5 Commits
Sep 3, 2019
Dec 6, 2017
Dec 6, 2017
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017

Repository files navigation

url-shortener

a microservice that takes long URLs and squeezes them into fewer characters to make a link that is easier to share

URL Shortener Microservice built for freecodecamp API Project

Live: https://nanos.herokuapp.com

Promises:

  • You can pass a URL as a parameter and you will receive a shortened URL in the JSON response.
  • When anyone visit that shortened URL, it will get redirected to the original link.

Examples for creating nano URLs:

  • https://nanos.herokuapp.com/new/https://reddit.com
  • https://nanos.herokuapp.com/new/https://www.freecodecamp.org/challenges/url-shortener-microservice

Example output:

  • { "original_url":"https://reddit.com", "short_url":"https://nanos.herokuapp.com/2aEU22" }

Now if you visit https://nanos.herokuapp.com/2aEU22, you will be redirected to https://reddit.com

About

a microservice that takes long URLs and squeezes them into fewer characters to make a link that is easier to share

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published