Anantm007 / url-shortener

A url shortener built using MongoDB and Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL SHORTENER

This is a url shortening service built using MongoDB, Express.js, Node.js and Bootstrap with the EJS templating engine.

Project Setup

1. Clone the repo
2. cd url-shortener
3. npm install
4. make a .env file with the following keys: MONGOURI, BASEURL
5. npm run dev
6. Open the project on 127.0.0.1:3004

Features

  1. Shorten any URL of your choice
  2. Feature to create your own unique custom URL code
  3. Timestamp for the url
  4. Archive page to keep a record of all the shortened URLs
  5. Counter for every URL (to keep track of how many times a particular short link was used)
  6. Edit and Delete any URL
  7. API also created for the app i.e. any external application can use this shortener via hitting the api endpoint

Technology Stack

  • MongoDB
  • Express.js
  • Node.js
  • EJS Templating Engine

Check out the deployed application at:

Miscellaneous

  • It is being used by multiple student societies / clubs in my college with the short urls receving thousands of clicks till date.

Contributiong

Feel free to fork this repo and raise an issue or submit a PR in case of any bugs.

About

A url shortener built using MongoDB and Nodejs

License:MIT License


Languages

Language:JavaScript 100.0%