Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
a036e46
chore: 코드베이스 분석 후 주석 작성
hyunzsu Aug 4, 2025
c03c22a
feat: entities/product 타입, 데이터 분리
hyunzsu Aug 4, 2025
c766b4d
feat: entities/cart 타입, 유틸 분리
hyunzsu Aug 4, 2025
5fd5446
feat: entities/coupon 타입, 데이터 분리 및 App 메인 리팩토링
hyunzsu Aug 4, 2025
f15c678
feat: shared/hooks 훅 분리
hyunzsu Aug 4, 2025
ea6fe2a
refactor: shared/hooks 훅 App 상태 적용
hyunzsu Aug 4, 2025
fed3bd2
feat: shared/components SearchInput 분리
hyunzsu Aug 4, 2025
95ab861
feat: shared/components Button 분리
hyunzsu Aug 4, 2025
5f3395f
feat: shared/components NotificationToast 분리
hyunzsu Aug 4, 2025
0abf881
refactor: shared/components App 컴포넌트 적용
hyunzsu Aug 4, 2025
4bed3d8
chore: 불필요한 파일 제거
hyunzsu Aug 4, 2025
a1b9a8b
feat: features/products/list/ui 분리
hyunzsu Aug 5, 2025
c1402e3
feat: features/products/list/hooks 분리
hyunzsu Aug 5, 2025
10873ba
feat: features/products/management/ui 분리
hyunzsu Aug 5, 2025
4f9c882
feat: features/products/management/hooks 분리
hyunzsu Aug 5, 2025
9342589
refactor: features/products App 컴포넌트 적용
hyunzsu Aug 5, 2025
f5de7d5
feat: features/cart/hooks 분리
hyunzsu Aug 6, 2025
4dfd567
feat: features/cart/ui 분리
hyunzsu Aug 6, 2025
f41d939
refactor: features/cart App 컴포넌트 적용
hyunzsu Aug 6, 2025
806d379
feat: features/coupons/ui 분리
hyunzsu Aug 6, 2025
f897d28
feat: features/coupons/hooks 분리
hyunzsu Aug 6, 2025
9c00945
refactor: features/coupons App 컴포넌트 적용
hyunzsu Aug 6, 2025
dbb8b6a
feat: features/order/hooks 분리
hyunzsu Aug 6, 2025
7732dc2
refactor: features/order App 컴포넌트 적용
hyunzsu Aug 6, 2025
002d789
feat: pages/ShoppingPage.tsx 분리
hyunzsu Aug 7, 2025
9b68fa3
refactor: pages/ShoppingPage.tsx App 컴포넌트 적용
hyunzsu Aug 7, 2025
b26cb58
feat: pages/AdminPage.tsx 분리
hyunzsu Aug 7, 2025
a60e096
refactor: pages/AdminPage.tsx App 컴포넌트 적용
hyunzsu Aug 7, 2025
47e749e
feat: shared/ui 분리
hyunzsu Aug 7, 2025
4f7317e
refactor: shared/ui App 컴포넌트 적용
hyunzsu Aug 7, 2025
97a0562
refactor: Header 컴포넌트에서 장바구니 아이템 수 계산 로직 이동
hyunzsu Aug 7, 2025
e866369
refactor: 페이지별 독립적인 상태 관리 및 로직 분리
hyunzsu Aug 7, 2025
91764a9
refactor: AdminPage에 독립적인 상태 관리 및 로직 분리
hyunzsu Aug 7, 2025
d62c645
refactor: ProductManagement 로직 분리
hyunzsu Aug 7, 2025
e95b007
chore: 폴더명 변경
hyunzsu Aug 7, 2025
841d561
refactor: CouponManagement 로직 분리
hyunzsu Aug 7, 2025
2750e9e
feat: widgets/ShoppingSidebar 분리
hyunzsu Aug 7, 2025
24ccc01
feat: entities/coupon 레이어로 useCoupons 훅 분리
hyunzsu Aug 7, 2025
baa1fce
refactor: ShoppingPage 페이지 로직 분리
hyunzsu Aug 7, 2025
938abd4
feat: features/cart 레이어로 장바구니 아이템 UI 분리
hyunzsu Aug 7, 2025
d5bc482
feat: features/coupon 레이어로 쿠폰 선택 UI 분리
hyunzsu Aug 7, 2025
874431c
feat: features/order 레이어로 주문 요약 UI 분리
hyunzsu Aug 7, 2025
0b80932
chore: 폴더명 변경
hyunzsu Aug 7, 2025
ec25eaa
feat: shared/utils 레이어로 유틸 함수 분리
hyunzsu Aug 7, 2025
bca8442
refactor: shared/utils 유틸 함수 적용
hyunzsu Aug 7, 2025
cc9e54d
chore: 불필요한 주석 제거
hyunzsu Aug 7, 2025
ab0e647
chore: advanced 폴더 이동
hyunzsu Aug 7, 2025
cc68573
chore: jotai 설치 및 초기 설정
hyunzsu Aug 7, 2025
14cc464
feat: 기본 알림 배열 notificationsAtom 생성
hyunzsu Aug 7, 2025
28815ec
feat: 고유 ID 생성하는 유틸 훅 생성
hyunzsu Aug 7, 2025
6495ddc
feat: 테스트 환경 설정
hyunzsu Aug 7, 2025
d33e2f0
refactor: addNotification prop 제거
hyunzsu Aug 7, 2025
9e21ce3
feat: atomWithStorage를 사용한 localStorage 자동 동기화 cartAtom 생성
hyunzsu Aug 7, 2025
2e707c3
refactor: cart, setCart props 제거
hyunzsu Aug 7, 2025
b018d35
refactor: cartAtom 직접 사용하도록 훅 업데이트
hyunzsu Aug 7, 2025
55f4cd2
feat: atomWithStorage를 사용한 localStorage 자동 동기화 productsAtom 생성
hyunzsu Aug 7, 2025
cb602b8
refactor: products, setProducts props 제거
hyunzsu Aug 7, 2025
74774c9
refactor: productsAtom에서 products 읽어와서 사용
hyunzsu Aug 7, 2025
c570da4
feat: atomWithStorage를 사용한 localStorage 자동 동기화 couponsAtom 생성
hyunzsu Aug 7, 2025
edc214c
refactor: coupons, setCoupons props 제거
hyunzsu Aug 7, 2025
82cd1ce
feat: 검색어 searchAtom 생성
hyunzsu Aug 7, 2025
6d4856f
refactor: searchTerm props 제거
hyunzsu Aug 7, 2025
daa7e74
feat: 장바구니 총액 계산 cartTotalsAtom atom 생성
hyunzsu Aug 7, 2025
4f2d668
refactor: calculateCartTotalWithCoupon props 제거
hyunzsu Aug 7, 2025
5e82d63
refactor: useCoupons 훅 props 제거
hyunzsu Aug 7, 2025
8fe55d4
chore: eslint 적용
hyunzsu Aug 7, 2025
473ea60
feat: 404 페이지 생성
hyunzsu Aug 7, 2025
c9c378d
chore: 배포 에러 해결
hyunzsu Aug 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>장바구니로 학습하는 디자인패턴</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
<div id="root"></div>
<script type="module" src="/src/origin/main.tsx"></script>
</body>
</html>
File renamed without changes.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"test:advanced": "vitest src/advanced",
"test:ui": "vitest --ui",
"build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"deploy": "npx gh-pages -d dist"
},
"dependencies": {
"jotai": "^2.13.0",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
Expand Down
26 changes: 26 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading