nomadro/src/modules/social
Eric 6e15868e04 Add isolated 游民社区 (/social) with social_svc and document test5.
Ship portal module + /api/social/v1 SQLite backend separate from /community; update README for MiroTalk CSP and test5 as the next development branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-01 11:24:21 +08:00
..
app Add isolated 游民社区 (/social) with social_svc and document test5. 2026-11-01 11:24:21 +08:00
components Add isolated 游民社区 (/social) with social_svc and document test5. 2026-11-01 11:24:21 +08:00
lib Add isolated 游民社区 (/social) with social_svc and document test5. 2026-11-01 11:24:21 +08:00
README.md Add isolated 游民社区 (/social) with social_svc and document test5. 2026-11-01 11:24:21 +08:00

游民社区(social)

门户:/social · SoT:src/modules/social · API:/api/social/v1
与旅居社群 /community 完全独立。

隔离

  • 后端:apps/api/services/social_svc → 独立 SQLite data/social/social.db
  • 前缀:/api/social/v1(不占用 /api/v1)
  • 挂载失败 / SOCIAL_ENABLED=false → 不影响 ebook / community / pay
  • 前端失败自动降级 localStorage

本地

pnpm dev:api
pnpm dev
curl http://127.0.0.1:8080/api/social/v1/health

部署说明见 deploy/social/README.md。