https://k10d104.p.ssafy.io/swagger-ui/index.html

<aside> 💡 공통 prefix: api/

  1. 복수형
  2. 명사
  3. 하이픈(-)
  4. 소문자
  5. URL 쿼리: 새로운 api를 만들기 보다는 쿼리 파라미터를 활용 /users/region/ko/users?region=ko

</aside>

<aside> 🌐 도메인

Consumer - 소비자 Cart - 장바구니 ConsumerNotification - 소비자 알림 Location - 위치

Order - 주문 OrderItem - 주문 제품 Favorite - 찜 review - 후기

Seller - 판매자 Store - 가게 StoreImage - 가게 이미지 StoreCategory - 가게 카테고리 Category - 카테고리 Menu - 메뉴 Sale - 판매 SellerNotification - 판매자 알림

</aside>

swagger

API

DTO

Restful 설계 참고사항

https://repository.kisti.re.kr/bitstream/10580/8161/1/2017-39 Open API 명세서 작성 가이드라인.pdf

https://restfulapi.net/resource-naming/

성영준

김대영 api 설계 들어간다.

임수빈