ForgeFlow-ERP/README.md
2026-06-14 21:05:49 +08:00

54 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ForgeFlow ERP
宁波百华智能科技有限公司五金行业 ERP 初始骨架,采用前后端分离架构:
- 前端Vue 3 + Vite
- 后端FastAPI
- 数据库MySQL 8
当前版本已经包含:
- 五金行业 ERP 的业务设计文档
- 覆盖销售、MRP、采购、仓储、生产报工、设备、财务、退货的 MySQL DDL
- FastAPI 模块化接口骨架与示例数据
- 工业风 Vue 管理端首页与流程中心页面
## 目录结构
```text
backend/
app/
sql/
docs/
frontend/
```
## 启动方式
### 后端
```bash
cd /Users/souplearn/Gitlab/py/ForgeFlow-ERP/backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload
```
### 前端
```bash
cd /Users/souplearn/Gitlab/py/ForgeFlow-ERP/frontend
npm install
npm run dev
```
## 重要文件
- 业务设计文档:`/Users/souplearn/Gitlab/py/ForgeFlow-ERP/docs/system-design.md`
- 数据库 DDL`/Users/souplearn/Gitlab/py/ForgeFlow-ERP/backend/sql/jiaheng_erp_schema.sql`
- 后端入口:`/Users/souplearn/Gitlab/py/ForgeFlow-ERP/backend/app/main.py`
- 前端入口:`/Users/souplearn/Gitlab/py/ForgeFlow-ERP/frontend/src/main.js`