Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
119880d
Refactor code structure and remove redundant changes
yeojinseok1 Jul 27, 2025
2d11fe6
Implement feature enhancements and bug fixes in the user authenticati…
yeojinseok1 Jul 27, 2025
c127b87
📜 리팩토링 계획 문서 추가
yeojinseok1 Jul 28, 2025
3627e98
✨ 새로운 컴포넌트 및 스토어 관련 기능 추가
yeojinseok1 Jul 28, 2025
ba32428
✨ Prettier 및 ESLint 설정 추가
yeojinseok1 Jul 28, 2025
2aada3a
fix: resolve all lint errors in main.original.js - replace var with c…
yeojinseok1 Jul 28, 2025
21e2be9
feat: 1차 코드 정리
yeojinseok1 Jul 29, 2025
5163fe2
refactor: 상수 및 전역 상태 변수에 대한 주석 추가와 코드 정리
yeojinseok1 Jul 29, 2025
5862704
refactor: html 리터럴 반환하는 함수 분리
yeojinseok1 Jul 29, 2025
ee2a06b
refactor: 컴포넌트 element return 형태로 리팩토링
yeojinseok1 Jul 29, 2025
7fef4dc
refactor: 상수 분리
yeojinseok1 Jul 29, 2025
f52b2b5
refactor: 고차함수로 리팩토링 및 순수함수 파일 분리
yeojinseok1 Jul 29, 2025
bf13a8e
refactor: 불필요 파일 제거 및 ts 마이그레이션
yeojinseok1 Jul 29, 2025
307f46a
feat: ProductState Reducer
yeojinseok1 Jul 29, 2025
acc543b
feat: 장바구니 상태 관리 기능 추가
yeojinseok1 Jul 29, 2025
db6293c
feat: 컴포넌트 계층 분리
yeojinseok1 Jul 29, 2025
203c14e
feat: UI 상태 관리 기능 추가
yeojinseok1 Jul 29, 2025
ff2ec19
feat: 포인트 상태 관리 기능 추가
yeojinseok1 Jul 29, 2025
3f6e424
feat: 이벤트 관리 시스템 추가
yeojinseok1 Jul 30, 2025
8a0c005
feat: 매뉴얼 섹션 컴포넌트 추가 및 이벤트 리스너 통합
yeojinseok1 Jul 30, 2025
581ea23
feat: 장바구니 관련 이벤트 핸들러 및 컴포넌트 분리
yeojinseok1 Jul 30, 2025
851f7a5
feat: 상품 선택 관련 컴포넌트 및 이벤트 핸들러 분리
yeojinseok1 Jul 30, 2025
5ac9b3b
feat: 상품 타이머 이벤트 핸들러 분리 및 통합
yeojinseok1 Jul 30, 2025
448c080
feat: 재고 정보 업데이트 로직 분리 및 주석 정리
yeojinseok1 Jul 30, 2025
ecd8480
feat: 장바구니 가격 업데이트 로직 분리 및 통합
yeojinseok1 Jul 30, 2025
0c0d234
feat: 장바구니 계산 로직을 orderSummaryHandlers.ts로 이동 및 관련 주석 업데이트
yeojinseok1 Jul 30, 2025
3b72eb9
feat: 전역 상태 변수 및 주석 정리
yeojinseok1 Jul 30, 2025
3dfe808
Merge branch 'main' of github.com:realstone2/front_6th_chapter2-1
realstone2 Jul 30, 2025
9bd2f2f
refactor: reorganize folder structure to basic/advanced pattern
realstone2 Jul 30, 2025
6d65d35
feat: React 19.1.1 버전 추가
realstone2 Jul 30, 2025
0eb4840
refactor: import 경로 수정 및 정리
realstone2 Jul 30, 2025
ca4e65b
feat(package): @testing-library/react 패키지 추가
realstone2 Jul 31, 2025
1f2744b
feat(docs): React 마이그레이션 계획 문서 추가
realstone2 Jul 31, 2025
93707e7
feat: Add React Migration PRD and remove Test Code Development PRD
realstone2 Jul 31, 2025
faf44ca
feat(docs): Jotai 기반 MVVM 아키텍처 설계 및 상태 관리 전략 추가
realstone2 Jul 31, 2025
38f7446
feat: Implement basic structure for advanced shopping cart application
realstone2 Jul 31, 2025
3ad4f60
feat(react): Phase 1 View 컴포넌트 구조 구축 완료
realstone2 Jul 31, 2025
23a6ade
docs(prd): View 우선 개발 전략 상세화 및 Phase 1 완료 상태 업데이트
realstone2 Jul 31, 2025
41463c8
feat(models): 장바구니, 주문, 포인트, 상품, UI 모델 추가
realstone2 Jul 31, 2025
4fb0355
feat(cart): 장바구니 모델 및 상태 추가
realstone2 Jul 31, 2025
87e603f
feat: cart viewModel 구현
realstone2 Jul 31, 2025
e12781b
feat: order viewmodel 연결
realstone2 Jul 31, 2025
5718dcc
feat: 상품 및 재고 ViewModel 구현
realstone2 Jul 31, 2025
7ebf115
feat: 포인트 ViewModel 및 주문 ViewModel 통합
realstone2 Jul 31, 2025
27b2e22
feat(react): MVVM 패턴 기반 React 마이그레이션 Phase 1 완료
realstone2 Jul 31, 2025
875317b
테스트: StockInformation 컴포넌트의 재고 상태 메시지 정규식 매칭으로 수정 및 재고 수량 업데이트
realstone2 Jul 31, 2025
a271229
테스트: CartDisplay 컴포넌트에 대한 유닛 테스트 추가
realstone2 Jul 31, 2025
4771621
feat: GitHub Pages 배포 워크플로우 추가
realstone2 Jul 31, 2025
dfbfebd
build: GitHub Pages 배포 디렉토리 수정
realstone2 Jul 31, 2025
77906fd
feat: Cart 및 Order ViewModel 개선 및 테스트 추가
realstone2 Jul 31, 2025
aa8f2a4
feat: 404 페이지 추가 및 index.html 수정
realstone2 Jul 31, 2025
1d6a345
build(config): 빌드 설정 수정
realstone2 Jul 31, 2025
038a3a4
build(.gitignore): .gitignore 파일 수정
realstone2 Jul 31, 2025
5870f55
Remove obsolete chatmode files for BMad Orchestrator, Developer, Prod…
realstone2 Jul 31, 2025
9408f2b
feat(viewmodel): 상품 ViewModel에 타이머 기능 추가
realstone2 Aug 1, 2025
dcd175e
feat(docs): 과제 체크포인트 및 셀프회고 문서 추가
realstone2 Aug 1, 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
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.12.4

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build
env:
NODE_ENV: production

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

.bmad-core
.cursor
.github/chatmodes

node_modules
dist
dist-ssr
Expand All @@ -24,4 +28,4 @@ dist-ssr
*.sw?

CLAUDE.md
.claude
.claude
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
dist
build
.git
*.md
package-lock.json
pnpm-lock.yaml
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf"
}
47 changes: 47 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hanghae Shopping Cart</title>
<!-- Note: Tailwind CDN is for development only. For production, use PostCSS or Tailwind CLI -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: [
'-apple-system',
'BlinkMacSystemFont',
'Helvetica Neue',
'Arial',
'sans-serif',
],
},
letterSpacing: {
'extra-wide': '0.3em',
'super-wide': '0.25em',
},
fontSize: { '2xs': '0.625rem' },
maxHeight: { 800: '800px' },
backgroundImage: {
'gradient-black': 'linear-gradient(135deg, #000 0%, #333 100%)',
},
},
},
};
</script>
</head>
<body
class="bg-gray-50 text-black antialiased overflow-hidden h-screen text-sm"
>
<div
id="app"
class="max-w-screen-xl h-screen max-h-800 mx-auto p-8 flex flex-col"
>
<!-- Content will be dynamically generated here -->
</div>
<script type="module" src="./src/advanced/main.advanced.tsx"></script>
</body>
</html>
Loading