This is a simple URL shortener web application built using Node.js, Express, and EJS templates. The project allows users to generate short URLs for long URLs, making it easier to share and manage links.
- Generate short URLs for long URLs.
- View a list of all generated short URLs with click statistics.
- Access detailed analytics for each short URL, including visit logs.
- Node.js
- Express.js
- EJS (Embedded JavaScript templates)
- MongoDB (or any other database of your choice)
- Bootstrap (optional for styling)
- Clone the repository to your local machine: git clone [https://github.com/taun2001jawla/url-shortener.git](https://github.com/tarun2001jawla/ShortURL-Generator.git Install dependencies using npm: npm install Set up your MongoDB database and update the connection URL in the .env file.
Start the application: npm start Open your browser and navigate to http://localhost:8000 to access the URL shortener app.
Usage Enter a long URL in the provided input field. Click on "Generate Short URL" to get the shortened URL. Copy and share the shortened URL with others. View the list of all generated short URLs and their click statistics. Click on individual short URLs to access detailed analytics, including visit logs. Contributing Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.
License This project is licensed under the MIT License - see the LICENSE file for details.