Thursday, January 11, 2024
Gift For You
Author:
Yuwei Yang
文章封面圖片
"Gift For You" is a drawing e-commerce website that I independently developed over six weeks, without following any specific guidelines. It's also a distinctive project that everyone at WeHelp Bootcamp is required to complete individually. "The plan about the personal project is to have no plan," I told myself, although I did outline a few directions. The core of the project is "continuously working and delving deeper." In my notebook, I jotted down several "must-do tasks" and crossed out a few plans that couldn't keep up with the changes, adding some "unplanned alterations" along the way.
The personal project is mine alone, unique in every way. Only I know what has happened and only I can determine the future direction of the project. Honestly, I never expected my project to encompass so many technical key terms. Much of the content evolved from one or two sentences exchanged with teacher Peng Peng, classmates, and teaching assistants. Because I was willing to venture further into the unknown, the final outcome far exceeded my initial expectations.
Technology Stack
Responsive Web Design
段落圖片
Main Features
Brush
段落圖片
Eraser
段落圖片
Undo & Redo
段落圖片
Drag & Drop
段落圖片
Keyboard Shortcuts
段落圖片
Secondary Features
Member System (Login & Logout)
段落圖片
Shopping Cart
段落圖片
Third-Party Payment (Tappay)
段落圖片
Order History Management
段落圖片
Component Architecture
段落圖片
Custom Hooks
useAuthState: The useAuthState hook is designed for managing user authentication states in a React application. It leverages Firebase's authentication service to listen for changes in the user's authentication status.
useRequireAuth: The useRequireAuth hook is utilized to manage access control in React components, particularly when certain user interactions require the user to be authenticated (logged in).
Canvas Structure Diagram
段落圖片
Redux Toolkit
段落圖片
Jest
段落圖片
About Author