輕量的購物網站,業主能選擇指定銷售日自行上架商品,用戶能下單並追蹤訂單進度
網站內並不包含實際金流的處理
- IDE - Idea IntelliJ
- 前端 - BootStrap 3
- 前端模板 - Thymeleaf
- 後端 - Spring Boot 3
- 關聯資料庫 - Mysql + Mybatis + Mybatis Plus
- 非關聯資料庫 - Redis
- Google 社交登錄
請將 Application.properties 中的 spring.sql.init.mode=always 打開,以便自動創建所有Mysql表,但是在下次重啟前必須關閉,否則會有刪除已創建之表的風險
- 下載
- 替換配置文件(application-dev.properties)中各服務的帳號、密碼等私密訊息
- 運行
259091637-83894861-5b1a-4274-a22a-825070a0c339.mp4
我定義了兩種BaseTemplate,分別是customer與business,可依照該頁面的功能從兩者中選一,Basetemplate裡面會導入一些基礎的 js、css、head-meta ,只要使用 Thymeleaf 引入模板即可快速建立頁面
2023-08-10.11-46-08.online-video-cutter.com.mp4
259096753-0ba1e22b-a90c-4186-90b1-426c58b7ca10.mp4
259096762-2f9b19c0-c197-4cb0-b6dd-b231b63d90a2.mp4
指定方法 : 在application.properties中 - spring.profiles.active=dev
logger name="com.littlejenny.bakery.dao.mysql" level="debug" 代表該包中的全部的Spring Entity都會輸出指定級別以上的log的訊息
- debug
- warn
- error
- Jar - 與Jar包同層的目錄新建123.txt
- 編輯器 - 與src同層的目錄新建123.txt
如果Path為txts/123.txt,則要先建立該txts目錄,否則無效
- FileController獨立成Application
- AuthController獨立成Application