Document front workbench setup
This commit is contained in:
34
RuoYi-Vue/easycode-web/README.md
Normal file
34
RuoYi-Vue/easycode-web/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user