A Laghusuchakstalam app is a web application that takes long URLs (Uniform Resource Locators) and converts them into shorter, more manageable links. The primary purpose of a URL shortener is to create concise and shareable links that are easier to remember and share, especially on platforms with character limitations like social media.
- Shorten long URLs into compact and shareable links.
- Customizable short URLs (if not already taken).
- Redirect users to the original long URL when they access the shortened link.
- Analytics tracking to monitor the usage of shortened URLs (e.g., number of clicks, geographic locations, etc.).
- Frontend: React js , Tailwind Css
- Backend: Node.js, Express.js
- Database: MongoDB
- Deployment: versel,cyclic
To run the URL Shortener project locally, follow these steps:
- Clone the repository:
git clone https://github.com/shubhamthite09/url-shortener.git
- cd into backend
cd backend
- Install the required dependencies:
npm install
- Set up the MongoDB database. remote url in .env file
- Start the server:
npm start
start the backend on required port - Then
cd frontend
- Then change the backend URl in .env file
- Open your web browser and visit
http://localhost:3000
- On the homepage, and login
- enter the long URL you want to shorten.
- Click on the "Shorten" button to generate the short URL.
- The shortened URL will be displayed along with statistics (e.g., number of clicks).
- Users can copy the short URL and share it with others.
- user/login
- user/register
- url/create
- url/get
- url/delete
Backend End Point:- https://giant-jay-fatigues.cyclic.app
We welcome contributions to the URL Shortener project. If you find a bug or have an idea for improvement, please feel free to open an issue or submit a pull request.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request explaining your changes.
We hope you find the URL Shortener project useful! If you have any questions or need further assistance, feel free to contact me at shubhamthite09@gmail.com. Happy shortening!