64 lines
1.2 KiB
Markdown
64 lines
1.2 KiB
Markdown
# 01 技术栈
|
||
|
||
## 前端
|
||
|
||
- Vue 3
|
||
- TypeScript
|
||
- Vite
|
||
- Element Plus
|
||
- Pinia
|
||
- Vue Router
|
||
- VueUse
|
||
- ECharts
|
||
- Axios
|
||
- ESLint
|
||
- Prettier
|
||
|
||
前端 Admin 采用 [pure-admin-thin(i18n 分支)](https://github.com/pure-admin/pure-admin-thin/tree/i18n)。详见 [10-frontend.md](./10-frontend.md)。
|
||
|
||
## 后端
|
||
|
||
- Laravel 13
|
||
- PHP 8.4
|
||
|
||
使用:
|
||
|
||
- Laravel Sanctum
|
||
- Laravel Queue
|
||
- Laravel Scheduler
|
||
- Redis
|
||
- Laravel HTTP Client
|
||
- Laravel Cache
|
||
- Laravel Events / Listeners
|
||
- Laravel Notifications(需要时使用)
|
||
- Laravel Policies / Gates
|
||
- Laravel API Resources
|
||
- Laravel Form Requests
|
||
- Laravel Service / Action 类
|
||
- Laravel Console Commands
|
||
|
||
API 采用 RESTful API,统一前缀 `/api/v1/...`。
|
||
|
||
## 数据库
|
||
|
||
- MySQL 8
|
||
- Redis 7
|
||
|
||
## Python 服务
|
||
|
||
Python 作为独立服务存在,不参与 Laravel 核心业务 CRUD。
|
||
|
||
- Python 3.x
|
||
- FastAPI
|
||
- Pydantic
|
||
- HTTP API
|
||
- Redis
|
||
- 后期根据需要使用 Pandas / NumPy / Scikit-learn / PyTorch / LLM SDK
|
||
|
||
详见 [11-py-service.md](./11-py-service.md)。
|
||
|
||
## 依赖原则
|
||
|
||
- 不随意增加第三方依赖。
|
||
- 第一阶段不引入 Kubernetes、Kafka、Elasticsearch、MongoDB、ClickHouse 等(见 [02-architecture.md](./02-architecture.md))。
|