An URL shortener is a website that reduces the length of your URL (Uniform Resource Locator). The idea is to minimize the web page address into something that's easier to remember and track.
ExpressJS Node.js Project with MongoDB and JWT Authentication
This project is a robust URL shortener built with Express.js and Node.js, backed by MongoDB for data storage. The application adheres to the MVC (Model-View-Controller) architectural pattern for a clean and organized codebase. User authentication is implemented using JWT (JSON Web Token) for secure access to the shortened URL management features.
- URL Shortening: Easily create short URLs for long web addresses.
- MVC Architecture: Structured codebase following the MVC design pattern for maintainability and scalability.
- User Authentication: Secure user access with JWT authentication.
- Express.js: A fast and minimalist web application framework for Node.js.
- Node.js: A JavaScript runtime for server-side development.
- MongoDB: A NoSQL database for efficient storage of URL data.
- JWT: JSON Web Tokens for secure and stateless user authentication.
- Node.js and npm installed
- MongoDB installed and running
-
Clone the repository:
git clone https://github.com/vrun545/url-shortener.git cd url-shortener
-
Install dependencies:
npm install
Start the application:
npm start
Visit http://localhost:8001 in your browser.
If you'd like to contribute to this project, please follow the Contributing Guidelines.
This project is licensed under the MIT License.