Skip to content

litemikx/url-shortener-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeCodeCamp API Basejump: URL Shortener Microservice

User stories:

  • I can pass a URL as a parameter and I will receive a shortened URL in the JSON response.
  • When I visit that shortened URL, it will redirect me to my original link.

Example creation usage:

https://short-url-serv.herokuapp.com/new/https://www.google.com
https://short-url-serv.herokuapp.com/new/http://foo.com:80

Example creation output

{ "original_url":"https://www.google.com", "short_url":"https://short-url-serv.herokuapp.com/W29S0" }

Usage:

https://short-url-serv.herokuapp.com/W29S0

Will redirect to:

https://www.google.com/

Coded by: Charmie Q.

About

URL Shortener for FCC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published