frontbacked-server

中文文档
6.0.32发布于 2026/11/04ISCES Module

Local development server for Frontbacked themes with FQL, FRL, accounts, uploads and simulated payments

原始使用文档
文档目录5 节
  1. Install or update
  2. Run your theme
  3. Explore your local site
  4. Keep building
  5. Automatic starter

Frontbacked local development server

Build and test Frontbacked themes on your computer with FQL, FRL, accounts, saved records, uploads and simulated payments.

Install or update

Use Node.js 22.13 or newer on the 22.x line, or Node.js 24 or newer, with npm:

npm install -g frontbacked-server@latest
frontbacked-server --version

Run your theme

Open a terminal in the theme folder that contains your HTML and backend/index.frl:

frontbacked-server

Visit http://localhost:3000. To choose another port:

frontbacked-server --port 3100

Press Ctrl+C to stop. Run frontbacked-server --help for command usage. No repository checkout or separate language packages are needed to use the installed server.

Explore your local site

  • /fb-admin — set up a local administrator, inspect records and try theme settings.
  • /__frontbacked/mailbox — read simulated verification, password reset and notification emails.
  • /__frontbacked/wallet — use the local crypto simulator while checking payment flows.

Auth provider buttons use local simulations. Local crypto payments do not use a blockchain or real funds. SMTP is optional when you want to check actual email delivery.

Local data is stored in .frontbacked/ inside your theme folder. Keep that folder out of Git and keep it when updating the installed server. Each theme folder has its own local site data.

After changing a schema, use Clear local records in the local administration area's Local development bar if you need a fresh dataset. A full records reset removes local accounts, including administrators. A backup is saved in .frontbacked/database/backups/ before records are cleared. Stop the server before restoring a backup.

Keep building

Read the local development guide, install the VS Code extension, and follow Your first theme.

Use the local server for development. Verify hosted integrations in a Frontbacked preview before publishing your theme.

Automatic starter

Run frontbacked-server in a completely empty folder to create Studio, a styled theme with pages for FQL state, email/Google/GitHub accounts, private note CRUD, file uploads, payments, jobs, editable content, and light/dark skins.

mkdir my-theme
cd my-theme
frontbacked-server

Existing folders, including those with hidden files, are served without adding starter files. Generate before git init. The generated README maps the examples and explains local simulated sign-in, email, and payments. Enable a payment method in site administration before trying checkout.

版本与发布记录

frontbacked-server 共发布 3 个版本,首次发布于 2026/11/03;过去 12 个月发布了 3 个版本。

版本发布日期距今
6.0.32latest2026/11/04今天
6.0.312026/11/03今天
0.0.0-stage2026/11/03今天

关于 frontbacked-server 的常见问题

frontbacked-server 是什么?

本地开发服务器的前端主题与FQL, FRL,帐户,上传和模拟支付

如何安装 frontbacked-server?

在项目目录运行 npm install frontbacked-server,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 frontbacked-server,可以用 npx frontbacked-server 直接运行。

frontbacked-server 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/frontbacked-server 是否存在。

frontbacked-server 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

frontbacked-server 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js ^22.13.0 || >=24.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

frontbacked-server 可以商用吗?

frontbacked-server 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

frontbacked-server 还在维护吗?

最新版本 6.0.32 发布于 2026/11/04(今天);至今共发布 3 个版本,其中过去 12 个月发布了 3 个;首次发布于 2026/11/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。