Files
shopping/README.md
2026-01-13 17:15:10 +08:00

34 lines
782 B
Markdown
Raw Permalink 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.

# 童飞玩具购物网站
## 技术栈
- 前端Vue 3 + Vite + Ant Design Vue
- 后端Spring Boot 3 + JPA + MySQL
## 运行说明
### 1. 数据库
- 创建数据库并导入 `db/schema.sql`
- 修改 `backend/src/main/resources/application.yml` 中的数据库账号密码
### 2. 后端
```powershell
cd D:\bs\shopping\backend
mvn spring-boot:run
```
默认管理员账号:`admin` / `admin123`
### 3. 前端
```powershell
cd D:\bs\shopping\frontend
npm install
npm run dev
```
访问:`http://localhost:5173`
## 功能覆盖
- 用户注册/登录/个人中心/收货地址
- 商品首页展示/搜索/列表/详情
- 购物车/订单确认/在线支付(模拟)/订单状态
- 管理员登录/用户管理/商品与分类管理/订单管理/轮播图/公告管理