跳到主要内容

术语表

术语英文说明
发布平台Publishing platformReactPress 定位:含 Admin、API、主题、插件的完整系统,非单纯 CMS 后端
AdminAdmin / Web AdminVite SPA 管理后台;reactpress init 默认 :3001/admin/,Monorepo 开发可能为 :3000
API / ServerCMS APINestJS REST 服务,端口 3002,持久化与 Hook 中枢
主题ThemeNext.js 访客前端,端口 3001,可 npm 安装替换
插件Plugin服务端 Hook 扩展 + 可选 Admin 插槽
桌面客户端Desktop clientElectron 壳,加载同一 Admin,支持 SQLite 本地模式
Toolkit@fecommunity/reactpress-toolkit唯一推荐的 API 客户端与类型契约层
CLI@fecommunity/reactpress全局命令:initdoctorlogsstop
HeadlessHeadless通过 REST + API Key 由任意前端消费内容
HookHook插件在 Server 进程内订阅的事件点(如 article.beforePublish
WebhookWebhookServer 向外部 URL 发送的异步 HTTP 通知
catalogTheme / Plugin catalognpm 或 local registry 中可安装扩展的索引
runtime.reactpress/runtime/CLI 安装主题后的运行目录
active theme启用主题当前绑定 :3001 的主题,记录在 DB + active-theme.json
preview theme预览主题Admin iframe 预览,绑定 :3003
slug / 别名slugURL 友好标识,如 hello-world
ISRIncremental Static RegenerationNext.js 增量静态再生,平衡 SEO 与更新频率
SSRServer-Side Rendering服务端渲染,利于 SEO 与首屏
SQLite默认嵌入式数据库,零配置本地开发
embedded-dockerconfig 中 MySQL Docker 模式
Monorepopnpm workspace 管理的 cli/server/web/themes 等包
ExtendReactPress 4.0 代号:插件 + 桌面 + npm 主题

端口速查

端口服务
3000Admin
3001Theme(访客站)
3002API
3003Theme preview

包名速查

npm 包用途
@fecommunity/reactpress主 CLI(4.0)
@fecommunity/reactpress-toolkitTS SDK
@fecommunity/reactpress-webAdmin 静态资源
@fecommunity/reactpress-theme-starter官方生产主题(npm)

相关文档