Files
life_goals/server/README.md
T
adminandClaude Sonnet 4.6 a1561c7d43 chore: 初始化仓库结构
- 建立 monorepo 结构:app/ + server/ + docs/
- 纳入全部需求/架构/开发计划文档
- 新增 docs/PROGRESS.md 功能状态总览
- 新增 docs/decisions/ ADR 决策记录(001-004)
- 新增根目录 README.md 含 AI 阅读指引
- 新增 .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 16:39:16 +08:00

36 lines
923 B
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.
# server — 后端 API
> 人生目标 App 的后端服务,**Phase 4(账号体系)阶段启动开发**,当前目录为占位。
## 当前状态
📋 **待启动** — Phase 4 触发条件:核心功能稳定 + 有稳定用户基础。
## 负责的功能(Phase 4+)
- 用户注册 / 登录(邮箱 + Google / Apple 一键登录)
- 数据云端存储与多设备同步
- **Anthropic API 代理**(保护 API Key,替代前端直连)
- 游客本地数据迁移至账号
- Phase 5:会员订阅 + 支付接入
## 技术栈(待定,Phase 4 决策)
| 项目 | 候选 |
|------|------|
| 运行时 | Node.js |
| 框架 | Express / Fastify / Hono |
| 数据库 | PostgreSQL / Supabase |
| 认证 | JWT + OAuth2 |
| 部署 | 待定 |
## 启动方式(开发后)
```bash
cd server
npm install
npm run dev
```
> 详见 [架构设计文档](../docs/03-架构设计/技术选型与数据结构.md)