Replies: 3 comments
-
API 메서드 네이밍 컨벤션 통일 (예: get, post, put, delete 접두어 사용)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
디렉토리 구조
/src
/app
/(routes)
/home
page.tsx
layout.tsx
/dashboard
page.tsx
layout.tsx
/modules
/auth //각 페이지에 1:1 대응되는 모듈 시스템
hooks.ts
utils.ts
api.ts
LoginForm.tsx
/user
hooks.ts
utils.ts
api.ts
UserProfile.tsx
/product
hooks.ts
utils.ts
api.ts
ProductCard.tsx
/components // 아래는 공통되는 것들을 각각의 폴더로 정의
Button.tsx
Input.tsx
Modal.tsx
/assets // svg icon들 중 동적인 크기제어가 필요한 경우
/hooks
useMediaQuery.ts
useToast.ts
/utils
formatDate.ts
getInitials.ts
/lib
axios.ts
auth.ts
/types
index.ts
/styles
globals.css
tailwind.config.tsType Safe System
로그인 로직 개선 → 페이지별 권한 설정
Data Fetching Logic 통일
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
논의 결과
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@MiJungle 여기다가 써주세용!
Beta Was this translation helpful? Give feedback.
All reactions