
Quick Start
About 176 words
Caution
The frontend integrates dictionary features by default, so fba must install the dictionary plugin (built-in) and run the SQL scripts included in the plugin.
Prepare the local environment
- Node.js (the repository pins 24.16.0 in
.node-version;enginesrequires^22.18.0 || ^24.0.0) pnpm (`engines` requires `>=11.0.0`; the repository pins 11.7.0 through packageManager)
- Node.js (the repository pins 24.16.0 in
Clone the Git repository
git clone https://github.com/fastapi-practices/fastapi-best-architecture-ui.gitInstall dependencies
The frontend is a monorepo, so dependencies are installed once at the repository root
pnpm installConfigure the API address
Set
VITE_GLOB_API_URLinapps/web-antdv-next/.env.developmentto your backend address (no trailing slash). The same address is used for the WebSocket connection# 接口地址 VITE_GLOB_API_URL=http://localhost:8000Start
pnpm dev:antdv-nextTips
The frontend is based on the Vben Admin monorepo;
pnpm devuses turbo-run to let you pick the app to start in the terminalOpen the browser: http://localhost:5173
