This is a url shortening service built using MongoDB, Express.js, Node.js and Bootstrap with the EJS templating engine.
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
- Shorten any URL of your choice
- Feature to create your own unique custom URL code
- Timestamp for the url
- Archive page to keep a record of all the shortened URLs
- Counter for every URL (to keep track of how many times a particular short link was used)
- Edit and Delete any URL
- API also created for the app i.e. any external application can use this shortener via hitting the api endpoint
- MongoDB
- Express.js
- Node.js
- EJS Templating Engine
- It is being used by multiple student societies / clubs in my college with the short urls receving thousands of clicks till date.
Feel free to fork this repo and raise an issue or submit a PR in case of any bugs.