Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEMINAR 4.5] 배달의 민족 API, ERD 분석 과제 #7

Open
seoyeonjin opened this issue Nov 15, 2024 · 0 comments
Open

[SEMINAR 4.5] 배달의 민족 API, ERD 분석 과제 #7

seoyeonjin opened this issue Nov 15, 2024 · 0 comments

Comments

@seoyeonjin
Copy link
Collaborator

ERD

배달의 민족 (1)

API

getStoreCategoryList

  • 설명

    첫 화면에 표시될 카테고리명과 카테고리 이미지를 보내주기 위한 API 입니다.
  • request

    • type - 카테고리 타입 (필수)
      • 가능한 값: 음식배달, 가게배달, 장보기, 포장, 선물하기
    GET {{baseUrl}}/stores/categories?type=음식배달
  • response

    {
      "code": 200,
      "categoryList": [
        {
          "categoryImageUrl": "https://~~",
          "categoryName": "치킨"
        },
        {
          "categoryId": "https://~~",
          "categoryName": "중식"
        }
        ...
      ]
    }

getStoreListByCategory

  • 설명

    category로 구분해서 store 리스트를 가져오는 api
  • request

    • category - 가져올 리스트의 category (필수)
      • 가능한 값: 치킨, 중식, 돈까스, 회, 피자, 패스트푸드, 찜, 탕, 족발, 보쌈, 분식, 디저트
    GET {{baseUrl}}/stores?category=치킨
  • response

    {
      "code": 200,
      "stores": [
        {
          "storeName": "맛있는 치킨집",
          "deliveryPrice": 2000,
          "minimumOrderPrice": 15000,
          "rating": 4.8,
          "estimatedDeliveryTime": "30-40분",
          "menuList": [
            {
              "menuImageUrl": "https://~~/crispy_chicken.jpg",
              "menuName": "크리스피 치킨",
              "menuPrice": 18000
            },
            {
              "menuImageUrl": "https://~~/spicy_chicken.jpg",
              "menuName": "매운 치킨",
              "menuPrice": 20000
            }
          ]
        },
        {
          "storeName": "바삭한 치킨",
          "deliveryPrice": 2500,
          "minimumOrderPrice": 12000,
          "rating": 4.5,
          "estimatedDeliveryTime": "40-50분",
          "menuList": [
            {
              "menuImageUrl": "https://~~/bbq_chicken.jpg",
              "menuName": "BBQ 치킨",
              "menuPrice": 19000
            },
            {
              "menuImageUrl": "https://~~/soy_chicken.jpg",
              "menuName": "간장 치킨",
              "menuPrice": 21000
            }
          ]
        }
      ]
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant