Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 633 Bytes

File metadata and controls

18 lines (14 loc) · 633 Bytes

URL-shortener

URL shortener using nodejs and MongoDB

How to use the project

  1. Clone the project using git clone.
  2. Get the URI for the database connection from here, and paste it in the app.js file (for test).
  3. Run npm install && npm start to run the server.
  4. Go to this link to see the results.

used packages

  1. express: the framework.
  2. mongoose: to interact with MongoDB.
  3. shortid: to generate random URLs.
  4. ejs: to render dynamic views.

credits

Thanks to this tutorial.