Files
VLoop/frontend/README.md
2025-12-25 22:40:56 +08:00

29 lines
720 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# feedsystem_video_go frontend
这是对接 `backend/`Gin + GORM + MySQL + JWT的一套 Vue3 前端调试 UI覆盖全部后端路由
- Account注册 / 登录 / 改密码 / 查找 / 改名 / 登出
- Video发布 / 按作者列出 / 详情
- Like点赞 / 取消点赞 / 是否点赞
- Comment列表 / 发布 / 删除
- Social关注 / 取关 / 粉丝列表 / 关注列表
- Feed最新流 / 点赞数流 / 关注流
## 开发启动
先启动后端:
```bash
cd backend
go run ./cmd
```
再启动前端:
```bash
cd frontend
npm install
npm run dev
```
默认通过 Vite 代理转发请求:前端访问 `/api/...``http://localhost:8080/...`(见 `frontend/vite.config.ts`)。