Initial commit: 风影 OA 全栈源码(API/Web/Flutter/IM)

含 Phase 1.1 IM seq 排序、断线重连、多端已读同步与微信式语音转文字 UI。
排除 node_modules、构建产物、安装包与 .env 密钥。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-02 10:04:03 +00:00
commit 76f266645d
507 changed files with 99891 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# 企业综合运营管理平台
内部运营系统。当前先交付 **Web 端**,手机端和桌面端后续用同一套 API 再做。
## 技术栈
- 后端:NestJS 11 + Prisma 6 + PostgreSQL 16
- 前端:React 18 + Vite 5 + Ant Design 5
- 依赖:Redis、MinIO(本地 Docker)
## 目录
```
apps/api 后端
apps/web Web
infra/ 预留脚本
docs/ 架构说明
```
## 启动
```bash
cp .env.example .env
docker compose up -d
pnpm --filter api exec prisma migrate dev --name init
pnpm --filter api prisma:seed
pnpm --filter api start:dev
pnpm --filter web dev
```
- Web:http://localhost:5173
- API:http://localhost:3000/api/v1
- Swagger:http://localhost:3000/api/v1/docs
演示账号:`admin` / `Admin@123456`
其他人:`owner` `bizdir` `bizstaff` `dirsoft` `dir3d` `dirfilm` `dirmaterial` `finance` `hr` `employee`,密码均为 `Demo@123456`
## 测试
```bash
pnpm --filter api test
pnpm --filter api test:e2e
```
## 范围
本期把十个一级模块和二级菜单全部铺到 Web 上,登录、权限、投标筛选可写。合同、工时、薪酬等以台账和空数据为主,后续按模块补流程。不含外包、线索、仓库,也不做原生 IM。