issues
search
EAT-SSU
/
Server
🍽️ EAT-SSU: 숭실대 학식 리뷰 앱 🍽️ 서버 레포지토리
1
stars
0
forks
source link
Refactor: 메소드명 수정 및 주석 보충
#65
Closed
SY2on
closed
9 months ago
SY2on
commented
9 months ago
Controller
HTTP GET 요청을 처리하는 메서드의 네이밍 규칙 : get{XXX}
HTTP POST 요청을 처리하는 메서드의 네이밍 규칙
리소스 추가 액션 : add{XXX}
작성 액션 : write{XXX}
HTTP PUT 요청을 처리하는 메서드의 네이밍 규칙 : update{XXX}
HTTP DELETE 요청을 처리하는 메서드의 네이밍 규칙 : delete{XXX}
SY2on
commented
9 months ago
Service
등록 및 작성
등록 및 작성: create{XXX}
추가: add{XXX}
수정
변경 및 수정: update{XXX}
일부 수정: change{XXX}
삭제
삭제: delete{XXX}
조회
외부API를 통해 조회(애플 API) or 속성 값(평점 별 리뷰 개수) 조회하는 경우: get{XXX}
DB를 통해 조회하는 경우
상세 조회: find{XXX}
목록 조회: find{XXX}list
간단한 조회: find{XXX}simple
검사: check{XXX}
Controller