Skip to content

StephenHogsten/short-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeCodeCamp project: URL Shortener Microservice https://www.freecodecamp.com/challenges/url-shortener-microservice

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.

Note: all instructions and wording is taken from the example website (https://little-url.herokuapp.com/)

Other resources (no code was copied): http://stackoverflow.com/questions/14915496/how-can-i-allow-slashes-in-my-express-routes https://nodejs.org/dist/latest-v6.x/docs/api/http.html#http_message_headers http://stackoverflow.com/questions/26007187/node-js-check-if-a-remote-url-exists http://stackoverflow.com/questions/22673218/default-route-in-express-js http://stackoverflow.com/questions/4328540/how-to-catch-http-client-request-exceptions-in-node-js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published