An open API service indexing awesome lists of open source software.

https://github.com/galnir/url-shortener

URL Shortener Microservice
https://github.com/galnir/url-shortener

Last synced: about 1 year ago
JSON representation

URL Shortener Microservice

Awesome Lists containing this project

README

          

A Free Code Camp JavaScript App

User Story: I can pass a URL as a parameter and I will receive a shortened URL in the JSON response.

User Story: If I pass an invalid URL that doesn't follow the valid http://www.example.com format, the JSON response will contain an error instead.

User Story: When I visit that shortened URL, it will redirect me to my original link.

Example of usage:

https://url-shortener-application.glitch.me/new/https://google.com

https://url-shortener-application.glitch.me/r/9064

https://url-shortener-application.glitch.me/