Free Code Camp — Back End Dev Certification — URL Shortening Basejump
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.env
.gitignore
Procfile
index.js
package.json
readme.md

readme.md

#FCC BaseJump: URL-Shortener

Built as part of Free Code Camp's Back End Development Certification

##User Stories

  • 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 URL

https://gentle-brushlands-88674.herokuapp.com/new/http://www.facebook.com

##Example Output

https://gentle-brushlands-88674.herokuapp.com/bf0dc8