Skip to content

๐Ÿฅ‘ MNM ์„œ๋น„์Šค์˜ ๋ฉ”์ธ ์„œ๋ฒ„ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์ž…๋‹ˆ๋‹ค.

License

Notifications You must be signed in to change notification settings

MeetNMate/mnm-main-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Meet & Mate Main Server

Conventions

ํ˜‘์—…๊ทœ์•ฝ์„ ์ง€์ผœ์ฃผ์„ธ์š”.

contributors

Branch Convention

ํ˜„์žฌ ๋ณดํ˜ธ๋˜๊ณ  ์žˆ๋Š” ๋ธŒ๋žœ์น˜๋Š” develop๊ณผ master ์ด๋ฉฐ, master๋Š” ๋ฐฐํฌ์šฉ์ž…๋‹ˆ๋‹ค.

๋ธŒ๋žœ์น˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ช…๋ช…ํ•ฉ๋‹ˆ๋‹ค.

  • feature/์ž‘์—…๋‚ ์งœ6์ž๋ฆฌ-๊ธฐ๋Šฅ๋ช…-๋ณธ์ธ์‹๋ณ„๋ฌธ์ž์—ด
  • ์˜ˆ) feature/210901-add-edit-house-song

Commit Convention

  • feat : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
  • fix : ๋ฒ„๊ทธ ์ˆ˜์ •
  • docs : ๋ฌธ์„œ ์ˆ˜์ •
  • style : ์ฝ”๋“œ ํฌ๋งทํŒ…, ์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ์ฝ”๋“œ ๋ณ€๊ฒฝ์ด ์—†๋Š” ๊ฒฝ์šฐ
  • refactor : ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง
  • test : ํ…Œ์ŠคํŠธ ์ฝ”๋“œ, ๋ฆฌํŽ™ํ† ๋ง ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
  • chore : ๋นŒ๋“œ ์—…๋ฌด ์ˆ˜์ •, ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์ˆ˜์ •

PR Convention

  • approve๋Š” 1๋ช… ์ด์ƒ.

Code Convention

Controller

  • *** List() : ๋ชฉ๋ก ์กฐํšŒ์˜ ๊ฒฝ์šฐ
  • *** Details() : ํŠน์ • ๋ฐ์ดํ„ฐ์˜ ์กฐํšŒ์˜ ๊ฒฝ์šฐ
  • *** Save() : CUD ๊ฐ€ ๋™์‹œ์— ์ผ์–ด๋‚˜๋Š” ๊ฒฝ์šฐ
  • *** Add() : ๋“ฑ๋ก๋งŒ ํ•˜๋Š” ๊ฒฝ์šฐ
  • *** Modify() : ์ˆ˜์ •๋งŒ ํ•˜๋Š” ๊ฒฝ์šฐ
  • *** Remove() : ์‚ญ์ œ๋งŒ ํ•˜๋Š” ๊ฒฝ์šฐ

์ปจํŠธ๋กค๋Ÿฌ์—์„œ๋Š” Service์˜ ํ˜ธ์ถœ๊ณผ Exception ์ฒ˜๋ฆฌ๋งŒ ์ด๋ฃจ์–ด์ ธ์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Service

  • find ***() : ์กฐํšŒ ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • add ***() : ๋“ฑ๋ก ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • modify ***() : ๋ณ€๊ฒฝ ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • remove ***() : ์‚ญ์ œ ์œ ํ˜ˆ์ผ ๊ฒฝ์šฐ
  • save ***() CRD ๊ฐ€ ๋™์‹œ์— ์ผ์–ด๋‚˜๋Š” ๊ฒฝ์šฐ

๋„๋ฉ”์ธ๋ช…์˜ Service์˜ ์ƒ์„ฑ์„ ํ”ผํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.

Mapper

  • select ***() : ์กฐํšŒ ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • insert ***() : ๋“ฑ๋ก ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • update ***() : ๋ณ€๊ฒฝ ์œ ํ˜•์ผ ๊ฒฝ์šฐ
  • delete ***() : ์‚ญ์ œ ์œ ํ˜ˆ์ผ ๊ฒฝ์šฐ

DTO

About

๐Ÿฅ‘ MNM ์„œ๋น„์Šค์˜ ๋ฉ”์ธ ์„œ๋ฒ„ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์ž…๋‹ˆ๋‹ค.

Topics

Resources

License

Stars

Watchers

Forks

Languages