项目 / sadatrafsanjani/Point-of-Sales

sadatrafsanjani/Point-of-Sales

行业推荐
语言 Java标签 posinventory-managementpoint-of-salejavafx-applicationdesktop-application数据更新 2026-11-23 06:44:28 · 仓库 2026-11-22

一段话介绍

一套桌面端库存管理与收银(POS)应用,使用 JavaFX、Hibernate 和 MySQL,覆盖商品、分类、供应商、销售、采购、发票和库存跟踪等日常功能。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Point of Sales with inventory management system
319累计星
190Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

库存与供应链协同

适配系统:库存管理系统、供应链协同平台 · 得分 1.4

覆盖库存台账与出入库流程,可作为仓内作业与上下游协同的业务底座。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
按[仓库 README](https://github.com/sadatrafsanjani/Point-of-Sales)准备 JDK 21、Maven 和 MySQL,配置好数据库连接后,在项目根目录执行 `mvn clean javafx:run` 启动桌面应用。
特点或设计要点
该项目是一套销售点系统,涵盖商品、分类、供应商、员工、销售、采购、发票与库存管理,并带图表仪表盘、PDF 发票生成和 MySQL 数据库集成。
局限和适用边界
该项目运行需要 JDK 21、Maven 3.x 和 MySQL Server,JavaFX 依赖由 Maven 管理,无需单独安装 JavaFX SDK。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-09-08 · 语言 Java · 贡献者 —
java

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 2,225 字节。

# Inventory Management System

A desktop-based **Inventory Management System and Point of Sale (POS)** application built with JavaFX, Hibernate, and MySQL.

## Screenshots

### Login

![Login Screen](screenshots/login.png)

### Dashboard

![Dashboard](screenshots/dashboard.png)

## Features

- Product management
- Category management
- Supplier management
- Employee/user management
- Sales management
- Purchase management
- Invoice management
- Inventory tracking
- Point of Sale (POS)
- Dashboard with charts
- PDF invoice generation
- MySQL database integration

## Technologies

| Technology | Version |
|---|---|
| Java | 21 |
| JavaFX | 21.0.8 |
| Hibernate ORM | 6.6.56.Final |
| Jakarta Persistence | 3.1.0 |
| MySQL Connector/J | 9.4.0 |
| Apache Commons Codec | 1.19.0 |
| iText | 5.5.13.4 |
| Maven | 3.x |

## Requirements

- JDK 21
- Maven 3.x
- MySQL Server

JavaFX is managed through Maven, so a separate JavaFX SDK installation is not required.

## Database Configuration

Database credentials are loaded from:

```text
src/main/resources/application.properties
```

Example:

```properties
db.url=jdbc:mysql://localhost:3306/inventory
db.username=your_username
db.password=your_password
```

Make sure the `inventory` database exists in MySQL before starting the application.

> **Security:** Do not commit `application.properties` containing real database credentials to a public repository.

A template can be provided as:

```text
src/main/resources/application.properties.example
```

## Running the Application

### Using Maven

From the project root:

```bash
mvn clean javafx:run
```

### Using IntelliJ IDEA

Open the project as a Maven project and use **JDK 21** as the project SDK.

The application entry point is:

```text
com.rafsan.inventory.MainApp
```

## Building

To compile and package the application:

```bash
mvn clean package
```

The generated files are placed in:

```text
target/
```

Self-contained Windows deployment using `jlink` and `jpackage` is planned for a later stage.

## License

This project is licensed under the **MIT License**.

See the [LICENSE](LICENSE) file for details.

## Author

**Rafsan**

---

> This project is actively developed and may evolve over time.
↑