MakeItShort is a simple URL shortener API built with Java Spring Boot and MongoDB. It allows users to shorten long URLs into concise and easily shareable links.
- Shorten URLs: Convert long URLs into short and easy-to-remember links.
- Redirect: Redirect users to the original long URL when they access the shortened link.
- Analytics: Track the number of clicks and other relevant statistics for each shortened link.
- Customizable Short URLs: Customize the short URLs to make them more meaningful and memorable.
- User Authentication: Provide user registration and login functionality to manage shortened links.
- API Integration: Expose APIs for programmatically generating short links and accessing analytics data.
- Java: Programming language used for the backend development.
- Spring Boot: Framework for creating Java applications with ease.
- MongoDB: NoSQL database for storing the shortened links and their associated data.
- HTML/CSS: Frontend technologies for creating the user interface.
- RESTful APIs: Communication protocol for interacting with the application programmatically.
- Java Development Kit (JDK) installed on your machine.
- MongoDB installed and running.
- Any IDE (e.g., IntelliJ IDEA, Eclipse) for Java development.
-
Clone the repository:
git clone https://github.com/casyazmon/makeitshort.git
-
Import the project into your preferred IDE:
-
Configure the MongoDB connection details in application.properties:
-
Build and run the application.
-
Access the application in your browser at
http://localhost:8080
.
-
Register a new account or log in to an existing account.
-
On the dashboard, enter a long URL that you want to shorten.
-
Click the "Shorten" button to generate a shortened URL.
-
Copy the shortened URL and share it with others.
-
Users can access the shortened URL, which will redirect them to the original long URL.
-
Visit the analytics section to view the number of clicks and other statistics for each shortened link.
MakeItShort provides a set of APIs for programmatically generating short links and accessing analytics data.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- Thanks to the developers and contributors of Spring Boot and MongoDB for their excellent tools and documentation.