A simple url shortner api web app powered with expressjs and mongodb for freecodecamp.com backend developement courses.
you can view the app on https://murmuring-fjord-70054.herokuapp.com/
You can pass a url as a paramater after "/new/" and you will recieve a shortend URL in the response. the response would be in JSON format. visiting the shortened url will redirect you to the original link.
https://murmuring-fjord-70054.herokuapp.com/new/http://alimsvi.ir/blog
https://murmuring-fjord-70054.herokuapp.com/new/https://google.com
https://murmuring-fjord-70054.herokuapp.com/SkCAoG2Vg
git clone https://github.com/tuxitop/url-shortner-api.git
cd url-shortner-api
npm install
npm start
you can view it by visiting http://localhost:3000 with a browser.