Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
df3db83
empty commit
DEV4N4 Aug 11, 2025
0f2ab6b
fix: index.css import 에러 해결 및 Router Provider를 main.tsx로 이동
DEV4N4 Aug 12, 2025
0c69880
chore: 사용하지 않는 index.tsx(root) 삭제
DEV4N4 Aug 12, 2025
66825d5
chore: app 레이어 구성
DEV4N4 Aug 12, 2025
bdd9b54
chore: asset 폴더 shared 안으로 이동
DEV4N4 Aug 12, 2025
f1c9459
chore: Footer, Header 컴포넌트 layout/widgets로 이동
DEV4N4 Aug 12, 2025
1421eca
chore: UI 컴포넌트들 shared로 폴더 이동
DEV4N4 Aug 12, 2025
c918865
chore: Header, Footer 컴포넌트 shared/ui 폴더로 이동
DEV4N4 Aug 12, 2025
00832c4
refactor: api entities로 분리 및 types 생성
DEV4N4 Aug 12, 2025
b5dccfe
style: prettier 일괄 적용
DEV4N4 Aug 12, 2025
bf10780
refactor: highlightText 함수 컴포넌트로 변경
DEV4N4 Aug 13, 2025
f619679
refactor: DropdownSelect 컴포넌트 생성
DEV4N4 Aug 13, 2025
c0fef02
refactor: HighlightText, Comment 컴포넌트 분리
DEV4N4 Aug 13, 2025
3dbb8d2
refactor: UserModal, Pagination 컴포넌트 분리
DEV4N4 Aug 13, 2025
ca22629
refactor: Post, Comment Dialog UI를 features로 분리
DEV4N4 Aug 13, 2025
8ead74a
refactor: PostDetailDialog 컴포넌트 분리하면서 Comment 훅도 분리
DEV4N4 Aug 14, 2025
b2dd492
refactor: post hook 분리
DEV4N4 Aug 14, 2025
544e36c
refactor: PostTable 컴포넌트 분리
DEV4N4 Aug 14, 2025
582a7de
refactor: fetchTags 함수 hook으로 분리
DEV4N4 Aug 14, 2025
c1f4320
refactor: 검색바 컴포넌트로 분리 (PostFiltersBar)
DEV4N4 Aug 14, 2025
c558fc4
refactor: usePosts 훅 이름 변경(usePost"s") 및 props 수정
DEV4N4 Aug 14, 2025
3ee4023
refactor: query 관리 로직 hook으로 분리 (usePostQuery)
DEV4N4 Aug 14, 2025
98a82e6
refactor: PostDetailDialog props 이름 수정 (Comments -> bottoms)
DEV4N4 Aug 14, 2025
f8a4354
refactor: 분리된 컴포넌트 및 hook들 반영
DEV4N4 Aug 14, 2025
9a40c5d
fix: type 오류 수정
DEV4N4 Aug 14, 2025
5a2060f
chore: jotai 추가
DEV4N4 Aug 14, 2025
e7f288c
refactor: atoms 사용하여 modal 컴포넌트 props 줄이기
DEV4N4 Aug 14, 2025
36e5939
refactor: tanstack query 추가
DEV4N4 Aug 14, 2025
403e461
feat: tanstack query 세팅
DEV4N4 Aug 14, 2025
7832724
refactor: fetch 로직 tanstack query 사용한 방식으로 리팩토링
DEV4N4 Aug 14, 2025
c8d057c
refactor: tag 로직 리팩토링
DEV4N4 Aug 14, 2025
e29679a
fix: 배포 되지 않는 오류 개선
DEV4N4 Aug 15, 2025
61aa90b
chore: tanstack query devtools 설정
DEV4N4 Aug 15, 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
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_API_BASE_URL=/api
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_API_BASE_URL=https://dummyjson.com
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"semi": false,
"semi": true,
"printWidth": 120,
"tabWidth": 2,
"singleQuote": false,
"quoteProps": "consistent",
"trailingComma": "all",
"singleAttributePerLine": false
}
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/src/shared/assets/react.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chapter 2-3. 관심사 분리와 폴더구조</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="/src/app/entry.tsx"></script>
</body>
</html>
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"postbuild": "cp dist/index.html dist/404.html",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
},
"dependencies": {
"@tanstack/react-query": "^5.85.3",
"@tanstack/react-query-devtools": "^5.85.3",
"gh-pages": "^6.3.0",
"jotai": "^2.13.1",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
Expand Down
Loading