Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eduardocruzpalacios/tasks-manager-java-mysql-connector

Task manager console application built with JDK 11.0.12, MySQL & MySQL connector.
https://github.com/eduardocruzpalacios/tasks-manager-java-mysql-connector

java-application java-tasks mysql-connector-java task-manager tasks-app tasks-manager todo todo-app todo-list todoapp todolist todolist-application

Last synced: 21 days ago
JSON representation

Task manager console application built with JDK 11.0.12, MySQL & MySQL connector.

Awesome Lists containing this project

README

        

# Tasks Manager
Task manager console application built with JDK 11.0.12, MySQL & [MySQL connector: JDBC Driver for MySQL (Connector/J)](https://www.mysql.com/products/connector/).
## Functionality
### Tasks
- Create one
- Read and print all
- Delete one
- Update one
## Architecture
| package | purpose |
| ---------- | -------------------------------------------------------------------------------------------- |
| model | model for objects (attributes, constructors, getters, setters & .toString()) |
| dao | methods to communicate with data source and perform the tasks demanded by the business logic |
| service | interfaces with business-logic-oriented methods along with the classes implementing them |
| controller | the flow of the application |
| view | information showed to users and requested from them |
| utility | methods for frequently needs |
## Data Structure
| data | structure |
| ---- | ------------------------------------------------------------------------------------ |
| Task | int id, String title, String content, boolean isCompleted, LocalDateTime dateCreated |
## Data Source
MySQL database.

SQL statements to create the database and table along with CRUD queries are provided.
## Testing
- Unit tests are made with JUnit 5
- Only model classes are tested
## Libs
- Log4j-api-2.7.jar
- Log4j-core-2.7.jar