HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🐣
프론트엔드 데브코스 4기 교육생
/
🎽
성기동팀
/
💾
자료실
/
💾
협업 컨벤션, 규칙
💾

협업 컨벤션, 규칙

Tags
규칙
Created
Oct 4, 2023 09:08 AM

폴더 구조

Github 템플릿


  • Issue 템플릿
    • refactor
      featrue
      bug
       
  • PR 템플릿
    • Commit Message


      feat
      새로운 기능 추가 사용자 입장에서 변화가 있는 경우
      fix
      버그 수정
      docs
      문서 수정 (ex. README.md 수정)
      style
      코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우
      refactor
      사용자 입장에서 변화가 없는 코드 파일명, 폴더명 변경 및 이동
      chore
      빌드 업무 수정, 패키지 매니저 수정, 주석
      design
      사용자 UI 디자인 변경 (CSS 등)

      절대경로 세팅

       
├── 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
--- name: Refactor issue template about: 'about need to refactor' title: "🛠️ [Refactor] " labels: Refactor assignees: '' --- ## 리팩토링 작업 브랜치 ## 🛠️ Refactoring TODO - [ ]
--- name: Feature request template about: feature title: "🚀 [Feature] " labels: Feature assignees: '' --- ## ☑ Implement TODO - [ ]
--- name: Bug issue template about: 'about need to fix bug' title: "🐞 [Bug] " labels: Bug assignees: '' --- ## 🛠️ 어떤 버그를 고치나요? ## ☑ TODOS - [ ]
## 내용 설명 ## 구현 내용 ## 스크린샷? ## 장애물? ## PR 포인트 ## 참고 사항 ## 궁금한 점 close #이슈번호
@components/..... @libs/hook/....