Skip to content

mtharmen/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Basejump: URL Shortener Microservice

User stories:

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

Example usage:

/api/shorturl/new/https://www.google.ca

Example output:

{ "original_url": "https://www.google.ca", "code": "4645" }

Usage:

/api/shorturl/4645

Will redirect to:

https://www.google.ca 

About

FCC URL Shortener Microservice Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published