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

https://github.com/ayvero/mysql-derby-invoicing-system

A database-driven invoicing system implemented in Java using the DAO pattern. The project supports MySQL and Derby databases and loads initial data from CSV files. It includes functionalities such as retrieving the highest revenue product and ranking customers by billing.
https://github.com/ayvero/mysql-derby-invoicing-system

Last synced: 5 months ago
JSON representation

A database-driven invoicing system implemented in Java using the DAO pattern. The project supports MySQL and Derby databases and loads initial data from CSV files. It includes functionalities such as retrieving the highest revenue product and ranking customers by billing.

Awesome Lists containing this project

README

          

# πŸ’» Java Invoicing System - DAO Pattern & MySQL/Derby
![Java](https://img.shields.io/badge/Java-DAO%20Pattern-blue)
![Database](https://img.shields.io/badge/Database-MySQL%20%7C%20Derby-green)

## πŸ“ Description
This project is a **database-driven invoicing system** implemented in **Java** using the **DAO (Data Access Object) pattern**. It supports **MySQL and Derby databases** and allows initial data loading from **CSV files**.

### ✨ Features
βœ… DAO implementation for database interactions
βœ… MySQL and Derby support
βœ… CSV-based data import
βœ… Retrieve the highest revenue product
βœ… Rank customers by total billing

## πŸš€ Technologies
- Java
- MySQL / Derby
- JDBC
- DAO Pattern

## πŸ“Œ How to Use
1. Clone the repository:
```sh
git clone https://github.com/Ayvero/mysql-derby-invoicing-system.git

2. Configure MySQL or Derby as the database.

3. Load initial data from CSV files (datasets folder).

Run the Main.java to execute queries.

πŸ”¬ Example Functionality

ProductoDTO productoConMayorRecaudacion = service.getProductoConMayorRecaudacion();
System.out.println("Producto con Mayor RecaudaciΓ³n: " + productoConMayorRecaudacion.getNombre());