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
- Host: GitHub
- URL: https://github.com/galnir/url-shortener
- Owner: galnir
- Created: 2018-05-10T21:29:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T18:18:42.000Z (about 8 years ago)
- Last Synced: 2025-02-08T15:17:17.053Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/