refactor: split project into web and server directories

- Move frontend to web/ directory
- Add server/ directory for backend
- Restructure project for前后端分离架构

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 11:00:38 +08:00
parent 9a7b0794a1
commit 9785fb527b
85 changed files with 10474 additions and 10047 deletions

12
server/README.md Normal file
View File

@@ -0,0 +1,12 @@
# Server
后端目录。
当前仓库还没有正式后端实现,这里先独立出 `server/`,后续服务端代码统一放在这里,避免再和前端工程混在根目录或 `web/` 里。
建议后续结构:
- `server/src/`:业务代码
- `server/config/`:配置
- `server/scripts/`:启动、迁移、初始化脚本
- `server/tests/`:后端测试