Files
Public/apps/api/README.md
T
daiyongkang 76f266645d Initial commit: 风影 OA 全栈源码(API/Web/Flutter/IM)
含 Phase 1.1 IM seq 排序、断线重连、多端已读同步与微信式语音转文字 UI。
排除 node_modules、构建产物、安装包与 .env 密钥。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 10:04:03 +00:00

48 lines
1.2 KiB
Markdown
Raw 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.
# 企业综合运营管理平台
内部运营系统。当前先交付 **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
```
- Webhttp://localhost:5173
- APIhttp://localhost:3000/api/v1
- Swaggerhttp://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。