Note This is a FreeCodeCamp "Back End Development and API" course project #3
- node
- express
- mongo db
- body-parser
- cors
- dotenv
- mongoose
- url
You have to enter a valid url of http://www.example.com
format. Once you click on POST URL
it sends a JSON response with the shorturl as an integer value like 1,2,3...
Then, if you visit /api/shorturl/<short_url>
it redirects to the url that was shortened.