URL shortener using nodejs and MongoDB
- Clone the project using
git clone
. - Get the URI for the database connection from here, and paste it in the app.js file (for test).
- Run
npm install && npm start
to run the server. - Go to this link to see the results.
- express: the framework.
- mongoose: to interact with MongoDB.
- shortid: to generate random URLs.
- ejs: to render dynamic views.
Thanks to this tutorial.