Free Code Camp project built on glitch using mongodb on mLab.
User Stories:
- I can pass a URL as a parameter and I will receive a shortened URL in the JSON response
- When I visit that shortened URL, it will redirect me to my original link.
https://ja-urlshortener-ms.glitch.me/new/https://www.google.com
https://ja-urlshortener-ms.glitch.me/new/http://freecodecamp.com/news
{ "original_url": "http://freecodecamp.com/news", "short_url": "https://ja-urlshortener-ms.glitch.me/4" }
https://ja-urlshortener-ms.glitch.me/4
http://freecodecamp.com/news