A secure URL shortener application built with Node.js, Express.js, and MongoDB. Users can register, log in, and create shortened URLs with individual histories.
- User registration and authentication
- Shorten long URLs to unique short codes
- Track how many times each URL was used
- View personal history of shortened URLs
- Admin privilege to view all users' URLs
- Clean frontend using HTML, CSS, JavaScript, and EJS templates
- Node.js
- Express.js
- MongoDB
- Session-based authentication
- EJS templating
- HTML, CSS, JavaScript
-
Clone the repository git clone https://github.com/shruti985/url-shortner.git
-
Install dependencies npm install
-
Start the server npm start
- Register a new account or log in.
- Create short URLs and track usage.
- Access your personal URL history.
- Admins can view all shortened URLs across users.
This project is licensed under the MIT License.