Document front workbench setup

This commit is contained in:
王鹏
2026-05-22 16:50:23 +08:00
parent 625489e77c
commit 56dbc02526
2 changed files with 82 additions and 6 deletions

View File

@@ -0,0 +1,34 @@
# EasyCode Web
独立前台生成工作台面向前台用户完成项目草稿创建、AI 数据库设计、表结构编辑、项目结构预览和代码预览。
## Start
```powershell
npm install
npm run dev
```
Default URL: `http://localhost:5174`
## Backend
Set `VITE_API_BASE_URL` in `.env.development`.
The dev server proxies `/front/**` to the backend. The backend default URL is `http://localhost:8080`.
## Flow
1. Register or login front user.
2. Enter project name and description.
3. Generate MySQL database design through backend DeepSeek service.
4. Edit tables and fields.
5. Preview backend, frontend, and admin frontend project files.
## Build
```powershell
npm run build
```
Node.js `>=20` is required by the Vite toolchain.