An express based url shortner microservice created using mongoose and node. The site prompts the user to enter a url and saves it in the mongodb along with a randomly generated hash. Then provides the user with the api of the same hash in the path param. When requested to such api, the express checks the database for the url saved along with such hash requested and redirects the user to that same url.
Deployed live link available https://su-ar.herokuapp.com/
For example:
https://leetcode.com/problems/add-binary/discuss/1994980/c-easy-if-else-commented-solution
can be converted to: