Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
99371ef
chore: prettier 설정하기
KumJungMin Apr 29, 2025
5ee026f
refactor: renderComments 컴포넌트로 임시 분리하기
KumJungMin Apr 29, 2025
29d58fc
refactor: 사용자 모달을 컴포넌트로 임시 분리하기
KumJungMin Apr 29, 2025
c427f9d
refactor: 게시물 상세 대화상자를 임시 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
510e9c7
refactor: 댓글 수정 댛화 상자를 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
cef56b0
refactor: 댓글 추가 대화상자를 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
9987f79
refactor: 게시물 수정 대화상자를 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
c527421
refactor: 게시물 추가 대화상자를 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
05eb775
refactor: 검색 필터를 별도 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
9cc7e1b
refactor: 페이지네이션을 별도 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
29bbc6a
refactor: renderPostTable을 별도 컴포넌트로 분리하기
KumJungMin Apr 29, 2025
98df04f
chore: tanstack 추가하기
KumJungMin Apr 30, 2025
93d5da4
feat: comment 엔티티의 api 호출 파일 추가하기
KumJungMin Apr 30, 2025
a82e687
feat: post 엔티티의 api 호출 파일 추가하기
KumJungMin Apr 30, 2025
946266a
feat: user 엔티티의 api 호출 파일 추가하기
KumJungMin Apr 30, 2025
db88b46
chore: 절대 경로 설정하기
KumJungMin Apr 30, 2025
16935bf
feat: 유저 정보를 띄우는 대화상자를 관심사별로 분리하기
KumJungMin Apr 30, 2025
b7ec2ca
chore: zustand 추가하기
KumJungMin Apr 30, 2025
6910e33
feat: 쿼리를 업데이트 하는 로직 추가하기
KumJungMin May 1, 2025
f5e7678
feat: 글자 하이라이트 컴포넌트 추가하기
KumJungMin May 1, 2025
7f69077
feat: 검색 입력창 ui 컴포넌트 추가하기
KumJungMin May 1, 2025
d2776cc
refactor: comment 엔티티에 타입 지정 및 함수명 변경하기
KumJungMin May 1, 2025
da49c19
feat: comment 엔티티의 타입 정의하기
KumJungMin May 1, 2025
628c2cb
refactor: post 엔티티에 타입 지정하기
KumJungMin May 1, 2025
de1e973
feat: 태그 목록을 조회하는 api 추가하기
KumJungMin May 1, 2025
09b6b3c
feat: 유저 목록을 조회하는 api 추가하기
KumJungMin May 1, 2025
c1bda60
feat: tanstack 설정하기
KumJungMin May 1, 2025
21f9d68
feat: SelectBox 추가하기
KumJungMin May 1, 2025
9d9c479
chore: props 함수 바로 바인딩하기
KumJungMin May 1, 2025
7d5e661
chore: UserProfile의 타입 분리하기
KumJungMin May 1, 2025
d2d857c
feat: post의 페이지네이션 컴포넌트 추가하기
KumJungMin May 1, 2025
471679b
remove: 사용치 않은 과거 파일 제거하기
KumJungMin May 1, 2025
cbb69e9
feat: tag 호출용 훅 추가하기
KumJungMin May 1, 2025
79b88ab
chore: post api의 타입 정리하기
KumJungMin May 1, 2025
7ab7648
chore: Pagination 파일 위치 이동하기
KumJungMin May 1, 2025
2def192
chore: 테스트 환경에서 절대경로 허용하기
KumJungMin May 1, 2025
2ca4340
feat: post를 전역으로 관리하기
KumJungMin May 1, 2025
393d0de
chore: QueryClientProvider 선언 위치 변경하기
KumJungMin May 1, 2025
e5f5066
feat: 테스트 환경에서 QueryClientProvider 설정하기
KumJungMin May 1, 2025
56819fc
chore: useTagsQuery에 타입 지정하기
KumJungMin May 1, 2025
32813e5
feat: 게시물 추가 컴포넌트 추가하기
KumJungMin May 1, 2025
f188de4
feat: comment 데이터에 대한 api, model 훅 추가하기
KumJungMin May 1, 2025
af4a7b0
chore: CommentStore의 함수명 변경하기
KumJungMin May 1, 2025
931bb40
feat: 유저 정보를 띄우는 모달 추가하기
KumJungMin May 1, 2025
ae9ae70
feat: post에 대한 api 훅 추가하기
KumJungMin May 1, 2025
fc8c88f
feat: postTable 추가하기
KumJungMin May 1, 2025
5b8b28a
feat: TagList 추가하기
KumJungMin May 1, 2025
8ed2a56
feat: Toolbar 추가하기
KumJungMin May 1, 2025
263980e
feat: user 정보를 가져오는 로직을 훅으로 정의하기
KumJungMin May 1, 2025
39ce305
feat: PostTable 로직을 usePostTableLogic에서 관리하기
KumJungMin May 1, 2025
b516f42
feat: dialog 열기 닫기를 컨트롤하는 스토어 추가하기
KumJungMin May 1, 2025
db0fa98
remove: 더이상 사용치 않는 파일 제거하기
KumJungMin May 1, 2025
6cfac86
feat: comments 호출 훅 추가하기
KumJungMin May 1, 2025
89a4ce7
feat: post에 comments 타입 추가하기
KumJungMin May 1, 2025
f4589c2
feat: PostContent 추가하기
KumJungMin May 1, 2025
f73fdcb
chore: 미사용 로직 제거하기
KumJungMin May 1, 2025
20967bf
feat: DialogContainer 추가하기
KumJungMin May 1, 2025
fca8ec4
feat: dialog 컴포넌트 추가하기
KumJungMin May 1, 2025
21c1d10
fix: 댓글 좋아요 기능 에러 수정하기
KumJungMin May 1, 2025
aad456e
feat: postTable의 전역 관리 store 추가하기
KumJungMin May 1, 2025
e44033f
fix: 타입 불일치 수정하기
KumJungMin May 1, 2025
7fa90e2
fix: 댓글 삭제 오류 수정하기
KumJungMin May 1, 2025
06d54f4
feat: 댓글 업데이트시 posts 데이터도 갱신하기
KumJungMin May 1, 2025
96fb4bd
feat: 댓글 좋아요 기능 추가하기
KumJungMin May 1, 2025
a36f6de
feat: 구조 변경한 DialogContainer로 교체하기
KumJungMin May 1, 2025
6c5b033
refactor: postContent에서 로직 분리하기
KumJungMin May 1, 2025
25a72ab
chore: aria-label 추가하기
KumJungMin May 1, 2025
0516e77
fix: 검색시 이전과 같은 데이터일 때 검색 미작동 수정하기
KumJungMin May 1, 2025
5acb920
chore: ariaLabel 추가하기
KumJungMin May 1, 2025
aa7689f
chore: 배포 설정하기
KumJungMin May 1, 2025
6928bc5
chore: 빌드 설정하기
KumJungMin May 1, 2025
e14ad89
feat: axios 설정하기
KumJungMin May 1, 2025
3a11af1
chore: axiosInstance 호출 방식 사용하기
KumJungMin May 1, 2025
dbe16fa
fix: 검색어와 필터 간의 데이터 호출 방해 제거하기
KumJungMin May 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
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_BASE_PATH=/
VITE_API_BASE_PATH=/api
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_BASE_PATH=/front_5th_chapter2-3/
VITE_API_BASE_PATH=https://dummyjson.com
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"Vue.volar",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
]
}
28 changes: 14 additions & 14 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import js from "@eslint/js"
import globals from "globals"
import reactHooks from "eslint-plugin-react-hooks"
import reactRefresh from "eslint-plugin-react-refresh"
import tseslint from "typescript-eslint"
import prettier from "eslint-plugin-prettier"

export default tseslint.config(
{ ignores: ['dist'] },
{ ignores: ["dist"] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
extends: [js.configs.recommended, ...tseslint.configs.recommended, "plugin:prettier/recommended"],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
prettier,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
"prettier/prettier": "warn",
},
},
)
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
{
"name": "front-end-2-3",
"private": true,
"homepage": "https://kumjungmin.github.io/front_5th_chapter2-3/",
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build": "tsc --noEmit && vite build",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"build:prod": "vite build --mode production",
"deploy": "pnpm run build:prod && gh-pages -d dist"
},
"dependencies": {
"@tanstack/react-query": "^5.74.11",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"react-dom": "^19.1.0",
"zustand": "^5.0.3"
},
"devDependencies": {
"@eslint/js": "^9.25.1",
Expand All @@ -31,6 +36,7 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.0.0",
"gh-pages": "^6.3.0",
"jsdom": "^26.1.0",
"lucide-react": "^0.503.0",
"msw": "^2.7.5",
Expand Down
Loading