Follow this link to checkout this URL shortener API built using node.js and expressjs. https://safe-crag-80479.herokuapp.com/
1. node
2. Download mongoDB community server (https://www.mongodb.com/download-center?jmp=nav#community)
- From project root run
npm install
. - Start mongoDB.
- Run
npm start
from project root. - If everything goes well, you should see
Server started on localhost:3000
on the console. - Visit
localhost:3000
. - You can use a GUI based environment for managing your
database
eg: Robomongo
-
Create a new short url by using
/new
route. -
/new/urltoshorten
-
eg:
localhost:3000/new/https://google.co.in
Read contribution guidelines for this project here