Skip to content

Commit 5f74aca

Browse files
yura0302oaoong
andauthored
build: lock 파일 삭제 및 재설치 (#141)
* Feat/#99 (#107) * feat: 검색 부분 미비한 로직 추가 * fix: 이미지 수정 * Feat/#79 (#96) * fix: 히어로 이미지 수정 * feat: 프리미엄 후기 구현 * feat: 세부페이지 구현 * fix: 에러해결 --------- Co-authored-by: yura <[email protected]> * feat: 좋아요 API 명세 추가 --------- Co-authored-by: oaoong <[email protected]> Co-authored-by: yura <[email protected]> * style: 디자인토큰, 타이포그래피 수정 (#112) * style: 디자인토큰, 타이포그래피 수정 * fix: onsuccess 콜백에 mutaiton 인자 추가 --------- Co-authored-by: yura <[email protected]> * fix : 디자인 토큰, 타이포그래피 수정 (#113) * style: 디자인토큰, 타이포그래피 수정 * fix: onsuccess 콜백에 mutaiton 인자 추가 * fix: mutation파일에 onmutationresult 추가 --------- Co-authored-by: yura <[email protected]> * style: 배경 기본 색상 변경 * fix: tab filter 마감순 추가 (#129) Co-authored-by: yura <[email protected]> * fix: 탐색하기 레이아웃 수정 (#131) * style: 탐색하기 사이드바, 히어로 이미지 수정 * style: 탐색하기 레이아웃 수정 --------- Co-authored-by: yura <[email protected]> * feat: 리뷰 작성 레이아웃 (#132) * feat: 리뷰 작성 연결 페이지 재정의 * feat: 리뷰 UI 개발사항 반영 * fix: formatting * feat: QnA 컴포넌트 추가 * feat: 모바일카드 컴포넌트 구현 (#135) * refactor: card 컴포넌트 수정 * feat: 북마크 추가 * refactor: card 컴포넌트 수정 * feat: 모바일 카드 구현 * feat: 탐색하기 리팩토링 (#137) * feat: drawer 구현 * feat: 탐색 반응형 구현 * build: next 버전 패치 * build: lock파일 삭제 및 재설치 --------- Co-authored-by: oaoong <[email protected]> Co-authored-by: yura <[email protected]>
1 parent 86ccddd commit 5f74aca

File tree

90 files changed

+28314
-6759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+28314
-6759
lines changed

.example.env

Lines changed: 0 additions & 11 deletions
This file was deleted.

CLAUDE.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Project Overview
6+
7+
Moyeoit - A platform for IT professionals. Next.js 15 application with React 19, TypeScript, and Tailwind CSS 4.
8+
9+
## Development Commands
10+
11+
```bash
12+
# Development
13+
pnpm dev # Start dev server with Turbopack
14+
pnpm dev:mock-ssr # Dev server with MSW mock API
15+
16+
# Code Quality
17+
pnpm lint # Run ESLint
18+
pnpm lint:fix # ESLint with auto-fix
19+
pnpm format # Format with Prettier
20+
pnpm type-check # TypeScript type checking
21+
22+
# Build & Production
23+
pnpm build # Production build
24+
pnpm start # Start production server
25+
26+
# Testing
27+
pnpm test # Run Vitest tests
28+
pnpm storybook # Start Storybook on port 6006
29+
```
30+
31+
## Architecture
32+
33+
### Directory Structure
34+
35+
- **`src/app/`** - Next.js App Router with route groups `(root)/(routes)/`
36+
- **`src/components/`** - Atomic design: `atoms/` -> `molecules/` -> `(pages)/`
37+
- **`src/features/`** - Feature-Sliced Architecture by domain (clubs, review, like, oauth, user, etc.)
38+
- **`src/shared/`** - Cross-cutting concerns: configs, hooks, providers, utils, types
39+
- **`src/mocks/`** - MSW handlers and mock data
40+
41+
### Key Patterns
42+
43+
**Component Variants**: Use Class Variance Authority (CVA) for type-safe styling variants
44+
45+
```typescript
46+
const buttonVariants = cva([...], {
47+
variants: { variant: {...}, size: {...} },
48+
defaultVariants: { variant: 'solid', size: 'small' }
49+
})
50+
```
51+
52+
**Styling**: Tailwind CSS with `cn()` utility (clsx + tailwind-merge) from `@/shared/utils/cn`
53+
54+
**Routing**: Centralized path constants in `src/shared/configs/appPath.ts`
55+
56+
**Data Fetching**: TanStack React Query with Axios; MSW for API mocking
57+
58+
**Forms**: React Hook Form + Zod validation with `@hookform/resolvers`
59+
60+
**UI Components**: Radix UI primitives wrapped via shadcn/ui (New York style)
61+
62+
## Code Conventions
63+
64+
### Commit Messages (Conventional Commits)
65+
66+
- `feat`: New feature
67+
- `fix`: Bug fix
68+
- `style`: CSS related
69+
- `refactor`: Code refactoring
70+
- `docs`: Documentation
71+
- `chore`: Miscellaneous changes
72+
- `test`: Test code
73+
74+
### Pre-commit Hooks
75+
76+
Husky runs: lint -> format -> build before each commit
77+
78+
## Environment Variables
79+
80+
```bash
81+
NEXT_PUBLIC_API_ADDRESS # Backend API URL
82+
NEXT_PUBLIC_API_MOCKING # MSW toggle (enabled/disabled)
83+
NEXT_PUBLIC_GA_ID # Google Analytics
84+
```
85+
86+
## Tech Stack Quick Reference
87+
88+
| Category | Technology |
89+
| ---------- | ------------------------------------- |
90+
| Framework | Next.js 15 (App Router, Turbopack) |
91+
| UI | Radix UI + shadcn/ui + Tailwind CSS 4 |
92+
| State | TanStack React Query v5 |
93+
| Forms | React Hook Form + Zod |
94+
| Testing | Vitest + Storybook 9 + Playwright |
95+
| Mocking | MSW 2 |
96+
| Monitoring | Sentry |

0 commit comments

Comments
 (0)