A simple task manager built in Java using JDBC and MySQL. This project was created as a learning tool to practice SQL operations, JDBC connections, and building a clean console-based CRUD app in Java, following the MVC pattern.
- Basic CRUD operations for task management
- Interactive terminal menu
- Clean and modular Java code following the MVC structure
- Uses JDBC for direct SQL execution
- MySQL database managed via Docker Compose
- Clear separation of controllers, services, repositories, and entities
- Java 17+
- Maven
- Docker & Docker Compose
-
Clone the repository
git clone https://github.com/wesleybertipaglia/taskdao.git
-
Navigate to the project directory
cd taskdao -
Start the database with Docker Compose
docker-compose up -d
-
Build the project
mvn clean install
-
Run the app
mvn exec:java -Dexec.mainClass="com.wesleybertipaglia.Main"
-------------------------------------
📝 TASKDAO MENU
-------------------------------------
1. List tasks
2. Create task
3. Update task
4. Delete task
0. Exit
Choose an option: 1
--- Tasks ---
📝 1 - Buy groceries [✅ Completed]
📝 2 - Finish homework [🔲 Pending]
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.