快速適配,為您打造專屬的輔具
► 使用者
- 會員註冊、登入
- 詢問單 / 建議單
- 租賃輔具流程
- 購物車
- 使用者後台 (個人資訊、訂單、詢問單)
- 快速適配輔具
- LINE Login (快速登入)
- LINE Pay (無縫支付體驗)
- LINE Messaging (接收LINE推播通知)
► 店家後臺
- 修改使用者訂單運送狀態
- 針對用戶的詢問單狀況送出對應建議單
使用者 ( 知道自己需要何種輔具 ) :
- 瀏覽輔具商品列表 → 挑選需要的輔具 → 加入購物車。
- 點擊「購物車」→ 選取要租賃的商品 → 選取租用期約、日期等等 → 付款 → 訂單成立 。
- 進入「我的訂單」→ 查看訂單細節 → 根據內容了解運送狀態。
使用者 ( 不確定自己適合何種輔具 ):
- 在「首頁」點擊「快速適配」按鈕 → 選取受傷部位 → 選擇對應的輔具類型 。
- 對有興趣的輔具按下「加入詢問單」按鈕 → 按下前往詢問單。
- 選擇當前行動能力分級 → 送出詢問單。
- 進入「我的詢問單」→ 可查看已送出的詢問單 → 若店家已回覆的話則建議單按鈕可點擊。
- 點擊「建議單」按鈕 → 可查看已收到的建議單及店家評論。
- 最後針對店家的建議輔具,選擇是否租賃 → 接上述租賃流程。
Clone 專案
git clone https://github.com/kentrpg/assist-hub.git進入專案
cd assist-hub安裝套件
npm install啟動專案
npm run dev.
└── assist-hub /
├── components/
│ ├── auth/
│ ├── layout/
│ ├── pages/
│ └── ui/
├── constants
├── helpers/
│ ├── api/
│ ├── cookies/
│ ├── format/
│ └── mapping/
├── hooks
├── pages/
│ ├── admin/
│ ├── api/
│ ├── auth/
│ ├── cart/
│ ├── inquiry/
│ ├── product/
│ ├── suggest/
│ ├── user/
│ ├── _app.tsx
│ ├── _document.tsx
│ ├── 404.tsx
│ ├── 500.tsx
│ └── index.tsx
├── public
├── styles
├── types
├── utils/
│ ├── api
│ ├── react-hook-form
│ ├── react-icons
│ ├── redux/
│ │ ├── slices/
│ │ └── store/
│ └── styled-component
├── .env.local
├── .eslintrc.json
├── .gitignore
├── middleware.tsx
├── next-env.d.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── prettier.config.js
├── README.md
├── settings.json
└── tsconfig.json
其中元件層以基本三件套為主 scope在該元件內 分別為
- 元件
- 樣式
- 資料
範例:
└── component/
├── index.tsx
├── styled.tsx
└── data.ts
以 GitHub Flow 為基礎,建立符合我們團隊規範的客製化 Git Flow
| Category | Issue Label | example 範例 |
|---|---|---|
| feature-[branch name] | Feature | feat-auth-provider |
| update-[branch name] | Improvement | update-alert-toast |
| fix-[branch name] | Bug | fix-cart-quantity |
| hotfix-[branch name] | Hotfix | hotfix-linepay-api-query |
| Type 類型 | Usage 格式 | example 範例 |
|---|---|---|
| 新增功能 | feat (scope) | feat(order): add color and style for order status and shipping status |
| 修補錯誤 | fix (scope) | fix(footer): disable non-functional category links |
| 更新事項 | update (scope) | update(all): remove Tab hover effect on small screens |
| 重構代碼 | refactor (scope) | refactor(modal): adjust Modal content padding |
前期發想
- Miro
設計工具:
- Figma
- Canva
- react-icons
團隊協作/任務管理
- Notion
JavaScript 框架與工具:
- TypeScript
- React.js
- Next.js
樣式管理:
- styled-components
版本控制:
- Git / GitHub
狀態管理:
- Redux Toolkit
表單管理:
- React Hook Form
第三方API:
- LINE Login
- LINE Pay
- LINE Messaging
其他:
- React Slick : 輪播套件
- Middleware : 處理特定頁面驗證、Redirect等邏輯
後端框架及語言:
- C# (.NET Framework)
- .NET Framework Web API
- RESTful API
資料庫:
- MSSQL
雲端 & 伺服器:
- Azure VM
