This is a full-stack URL shortener project built using the MERN stack (MongoDB, Express.js, Next.js, and Node.js). The project allows users to shorten long URLs into more manageable and shareable links. It provides a user-friendly interface for both shortening and redirecting URLs.
- Shorten URLs: Users can enter a long URL, and the application will generate a shortened URL.
- Redirect: Users can use the shortened URL to redirect to the original long URL.
- Database: MongoDB is used as the database to store the mapping between the shortened and original URLs.
- Customizable: Users can create custom short URLs or allow the system to generate one.
- Frontend: Next.js, React, Axios
- Backend: Node.js, Express.js, MongoDB
- Styling: TailwindCSS
- Deployment: LocalHost :D
- Clone the repository to your local machine.
- Install the required dependencies for both the frontend and backend.
- Set up your MongoDB database and configure the connection in the backend.
- Start the development servers for both the frontend and backend.
- Access the frontend application.
- Enter a long URL you want to shorten and submit it.
- The application will provide you with a shortened URL.
- Use the shortened URL to redirect to the original long URL.
This project is open for everyone to use :).