clone the project
git clone github.com/FaizAlam/hotlink
Go to the project directory
cd hotlink
Start the server
npm run start
Fire up postman and post raw url data on below url
https://hotlink.herokuapp.com/url/shorten
(Something like this)
Insantly get the result in json format
- urlCode is the unique id associated with the given long url
- shortUrl is the final url you wil need