폴더 구조
├── public │ ├── favicon.ico ├── src │ ├── components │ │ ├── common │ │ │ ├── index.ts │ │ │ ├── button │ │ │ │ ├── Button.tsx │ │ │ │ └── style.tsx │ │ │ ├── input │ │ │ └── ... │ │ ├── 페이지명(페이지에서만 사용할 컴포넌트) │ │ └── ... │ ├── routes │ │ ├── index.tsx │ │ └── LoginRouter.tsx │ ├── constants │ │ ├── index.ts │ │ ├── common.ts │ │ └── 페이지별 상수.ts │ ├── pages │ │ ├── Login │ │ ├── Post │ │ ├── MyPage │ │ └── ... │ ├── assets │ │ ├── 이미지 │ │ └── 폰트 │ ├── libs │ ├──── apis │ │ ├─ axios.ts │ │ ├─ AuthApi │ ├──── hooks
libs - apis - axios.ts - Authapi - Authapi.ts => 로그인, 회원가입, 로그아웃, 리프레시 토큰 발급... - Authtype - Postapi - axios => 글 작성, 글 수정, 글 삭제 ... - type - LikeApi - axios => 좋아요, 좋아요 취소.. - type - hooks - indets - useXXX.ts - utils - intex.ts - parseMyWord.ts - getSeoultime.ts
Github 템플릿
- Issue 템플릿
refactor
--- name: Refactor issue template about: 'about need to refactor' title: "🛠️ [Refactor] " labels: Refactor assignees: '' --- ## 리팩토링 작업 브랜치 ## 🛠️ Refactoring TODO - [ ]
featrue
--- name: Feature request template about: feature title: "🚀 [Feature] " labels: Feature assignees: '' --- ## ☑ Implement TODO - [ ]
bug
--- name: Bug issue template about: 'about need to fix bug' title: "🐞 [Bug] " labels: Bug assignees: '' --- ## 🛠️ 어떤 버그를 고치나요? ## ☑ TODOS - [ ]
- PR 템플릿
## 내용 설명 ## 구현 내용 ## 스크린샷? ## 장애물? ## PR 포인트 ## 참고 사항 ## 궁금한 점 close #이슈번호
Commit Message
feat | 새로운 기능 추가
사용자 입장에서 변화가 있는 경우 |
fix | 버그 수정 |
docs | 문서 수정 (ex. README.md 수정) |
style | 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우 |
refactor | 사용자 입장에서 변화가 없는 코드
파일명, 폴더명 변경 및 이동 |
chore | 빌드 업무 수정, 패키지 매니저 수정, 주석 |
design | 사용자 UI 디자인 변경 (CSS 등) |
절대경로 세팅
@components/..... @libs/hook/....