A simple task management system built using Java Spring, MySQL, and Thymeleaf.
The Task Management System is a web application that allows users to create, view, edit, and delete tasks. It provides a simple and intuitive interface for managing tasks, making it easier to stay organized and on top of your work.
- Create new tasks with a title and description
- Mark tasks as completed or incomplete
- Edit existing tasks
- Delete tasks
- View a list of all tasks
- Java Spring Boot
- MySQL
- Thymeleaf
- Maven or Gradle
- Java 11 or higher
- MySQL server
- Maven or Gradle
- Clone the repository:
git clone https://github.com/ArjunAranetaCodes/Java-Spring-MySQL-ThymeLeaf-Task-Management.git
- Navigate to the project directory:
cd Java-Spring-MySQL-ThymeLeaf-Task-Management
- Open the
application.properties
(orapplication.yml
) file and update the following properties:spring.application.name=thymeleaf.task spring.datasource.url=jdbc:mysql://localhost:3306/task_management spring.datasource.username=username spring.datasource.password=password spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.hikari.*
- (Optional) If you want to use a different database, update the
spring.datasource.url
property accordingly.
- If you're using Maven, run the following command:
./mvnw spring-boot:run
- If you're using Gradle, run the following command:
./gradlew bootRun
- Open your web browser and navigate to
http://localhost:8080/
. - You will see the task list page, where you can view, create, edit, and delete tasks.
- To create a new task, click the "Create Task" button.
- To edit an existing task, click the "Edit" link next to the task you want to modify.
- To delete a task, click the "Delete" link next to the task you want to remove.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.