一個使用 Spring Boot 框架的外賣平台,用於下單和管理訂單。
- 訂單管理
- 歷史訂單查看
- 即時 WebSocket 訊息通知
- 使用 Redis 緩存菜單
- 提供 RESTful API
- 打開瀏覽器,訪問
http://localhost:80並且登入。 - 使用 Postman 測試系統:
- 加入菜品或訂單至購物車:
POST /user/shoppingCart/add - 查詢購物車物品:
GET /user/shoppingCart/list - 提交訂單:
POST /user/order/submit - 支付訂單:
PUT /user/order/payment - 創建訂單:
POST /api/orders - 客戶催單:
GET /user/order/reminder/18
- 加入菜品或訂單至購物車:
- 後端:Spring Boot, MyBatis, Websocket
- 資料庫:MySQL, Redis
- 前端:Nginx
demo.mp4
本項目基於 MIT License 許可使用。