-
Notifications
You must be signed in to change notification settings - Fork 6
00. Git Flow, Commit Convention, Directory Structure
- νμ΄μ§λ³, κΈ°λ₯λ³ new branch νμ μμ .
- branch ν λ, λ§μΌμ€ν€ λ° μ΄μ μ§μ ν΄μ λͺ©ν μΈμ΄ λ€μ μμ .
- νμ΄μ§, κΈ°λ₯ μμ μλ£ ν, branch merge PR λ 리기.
- PRμ μμ£Ό κΈν κ²½μ° μλλ©΄ λ€λ₯Έ μ¬λ 1μΈ μ΄μμ΄ κ²μ¦ λ° merge.
// react
- src/
--- feature/ κΈ°λ₯λ³, νμ΄μ§λ³ ꡬλΆ
----- User/
------- Profile/
------- Avatar/
----- Message/
------- MessageItem/
------- MessageList/
----- Payment/
------- PaymentForm/
------- PaymentWizard/
----- Error/
------- ErrorMessage/
------- ErrorBoundary/
--- components/ μ¬μ¬μ© κ°λ₯ν κ²λ€ λͺ¨μ. UI κ΄λ ¨.
----- App/
----- List/
----- Input/
----- Button/
----- Checkbox/
----- Radio/
----- Dropdown/
π server
π config
βββ π baseResponseStatus.js
βββ π database.js
βββ π express.js
βββ π jwtMiddleware.js
βββ π response.js
π src
βββ π app
βββ π User
| βββ π userController.js
| βββ π userDao.js
| βββ π userProvider.js
| βββ π userRoute.js
| βββ π userService.js
π .gitignore
π app.js
π server.js
π package.json
π README.md
[μ°Έκ³ 1(react νμΌ κ΅¬μ‘°)](https://www.robinwieruch.de/react-folder-structure/)
[react 곡μ νμ΄μ§ μ°Έκ³ ](https://ko.reactjs.org/docs/faq-structure.html)
[https://velog.io/@hopsprings2/κ²¬κ³ ν-node.js-νλ‘μ νΈ-μν€ν μ³-μ€κ³νκΈ°](https://velog.io/@hopsprings2/%EA%B2%AC%EA%B3%A0%ED%95%9C-node.js-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EC%95%84%ED%82%A4%ED%85%8D%EC%B3%90-%EC%84%A4%EA%B3%84%ED%95%98%EA%B8%B0)
[[NodeJS] νλ‘μ νΈ ν΄λ ꡬ쑰 λ§λ€κΈ°](https://dev-wnstjd.tistory.com/90)
[#issueNumber] type : Subject(μ λͺ©)
*ν μ€ λμ λΆλ¦¬*
body(μμΈν λ΄μ©)
*ν μ€ λμ λΆλ¦¬*
footer(꼬리λ§)
#μμ
[#14] Feat : λ‘κ·ΈμΈ κΈ°λ₯ μΆκ°
- νμκ°μ
νμ΄μ§ μ΄νμ λ‘κ·ΈμΈ κΈ°λ₯μ μΆκ°.
- λ‘κ·ΈμΈ μ μλ² apiλ‘ post 보λ΄μ μΈμ¦.
Related to
- 3050c3 (commit hash id)
- #5 (issueNumber)
<κΈ°λ₯/μ½λ λ³κ²½>
- Feat : μλ‘μ΄ κΈ°λ₯ / νμ΄μ§ μΆκ°
- Fix : λ²κ·Έ μμ (issue νκ·Έλ ν¨κ» κ±Έμ΄μ£ΌμΈμ..)
- Design : CSS, UI κ΄λ ¨ μ¬ν λ³κ²½
<κ°μ μ¬ν>
- Style : μ½λ ν¬λ§·ν , μ½λ λͺ¨μ μμ (μ½λμ μ§μ μ μΈ μμ μ΄ μλ κ²½μ°)
- Comment : μ£Όμ μΆκ° λ° λ³κ²½
- Refactor : μ½λ 리ν©ν λ§ β μλ‘μ΄ κΈ°λ₯ μμ΄ νμ¬ κ΅¬νμ κ°μ .
<κ·Έ μΈ>
- Docs : readme, κΈ°λ₯ λͺ μΈ μμ
- Test : ν μ€νΈ κΈ°λ₯ μΆκ° (μ½λ, νμ΄μ§ λ±)
- Chore : λΉλ μλν μ½λ λ±λ‘, ν¨ν€μ§ 맀λμ μμ λ±.
- Rename : νμΌλͺ μμ , ν΄λꡬ쑰 λ³κ²½ λ±
- Remove : μ¬μ©νμ§ μλ νμΌ, ν΄λ μμ μ
Subject μ λͺ© μμ±
μ λͺ©μ μ²μμ λμ¬ μνμΌλ‘ μμ.
50μ μ΄λ΄, κ°μ‘°μ ꡬ문μΌλ‘ μμ±.
λ§μ§λ§μ νΉμλ¬Έμ μ½μ μν¨(. ! ? λ±)
<μμ΄>
Fix, Add, Change λ±μΌλ‘ μμ
<νκΈ>
κ³ μΉ¨, μΆκ°, λ³κ²½ λ±μΌλ‘ μμ
μμ)
Feat: "μΆκ° get data api ν¨μ"
Body λ³Έλ¬Έ μμ±
ν μ€ λΉ 72μ μ΄λ΄.
μμ μ νλ°μ§ μκ³ μ΅λν μμΈν μμ±.
μ΄λ»κ² λ³κ²½νλμ§λ³΄λ€ 무μμ λ³κ²½νλμ§, μ λ³κ²½νλμ§λ₯Ό μμ£Όλ‘ μμ±
Footer κΌ¬λ¦¬λ§ μμ±
꼬리λ§μ κΌ μ μ΄μΌ νλ 건 μλλ€.
<μ΄μ νΈλ컀 μ ν>
Fixes : μμ§ μμ μ€μΈ μ΄μ
Resolves : ν΄κ²°ν μ΄μ
Ref : μ°Έκ³ ν μ΄μ/컀λ°
Related to : ν΄λΉ 컀λ°μ κ΄λ ¨λ μ΄μ/μ»€λ° λ²νΈ
[#μ«μ] νμμΌλ‘ μ°λ©΄ githubμμ μλμΌλ‘ ν΄λΉ μ΄μ λ§ν¬ κ±Έμ΄μ€λ€.
[000000] νμμΌλ‘ μ°λ©΄ githubμμ μλμΌλ‘ ν΄λΉ μ»€λ° λ§ν¬ κ±Έμ΄μ€λ€.
[νμ μ μν μ»€λ° μ»¨λ²€μ ](https://overcome-the-limits.tistory.com/entry/%ED%98%91%EC%97%85-%ED%98%91%EC%97%85%EC%9D%84-%EC%9C%84%ED%95%9C-%EA%B8%B0%EB%B3%B8%EC%A0%81%EC%9D%B8-git-%EC%BB%A4%EB%B0%8B%EC%BB%A8%EB%B2%A4%EC%85%98-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0) π
[μ»€λ° μ»¨λ²€μ μ λν μμ½ μ 리](https://doublesprogramming.tistory.com/256)
μ΄μλ tagλ₯Ό λΆμ¬μ κΈ°λ₯/μν λ³λ‘ ꡬλΆμ΄ κ°λ₯.
λλΆλΆ Commit Type λλ‘ λ§λ€μ΄ λμΌλ©΄ νΈνλ€.
To Do : ν΄μΌ ν μΌ(milestoneμ ν¬ν¨μν€λ issue μ©λ) Bug : κ°λ°λ μ½λμμ μ°ΎμλΈ λ²κ·Έ
Question (μ§λ¬Έ/건μμ¬ν) : νΉμ κΈ°λ₯ / μ½λμ λν μ§λ¬Έ
githubμμ issue templateμ λ§λ€μ΄μ λΉ λ₯Έ μμ± κ°λ₯
++
front κ΄λ ¨λ κ²μ frontend / back κ΄λ ¨λ κ²μ backend λΌλ²¨ 맨 μμ μΆκ°, κ³΅ν΅ μ¬νμ΄λ©΄ λλ€ λΆμ΄μ§ μκΈ°.
https://taekki-dev.tistory.com/40
https://hyeonic.tistory.com/181
main : μ°λ¦¬μ μ£Όλ μ½λλ€ / μ μλλλ, λ°°ν¬κ°λ₯ν μ½λλ€
frontend : νλ‘ νΈ μ½λλ€
backend : λ°± μ½λλ€
gh-pages : μΆν github pageλ‘ λ°°ν¬ν λ??
frontend/feature
frontend/feature/login
ννμ λΈλμΉ μμ±?
β gitμμ νμ λΈλμΉλ‘ / (μ¬λμ)λ₯Ό μ°λ κ²μ μ€λ₯λ₯Ό λΏλλ€.
β frontend-feature
, frontend-feature-login
κ³Ό κ°μ νν