KU-Solution-Challenge-GoGreen/GoGreen-Server

Recipe 추가 API

Closed this issue · 0 comments

worjs commented

POST /recipes
Recipe 기본정보, ingredient id 배열, 조리순서 등을 받아서 추가한 뒤, 완성된 Recipe 객체를 내려줍니다.

  1. 각 ingredient의 존재 여부를 확인합니다.
  2. 탄소 발자국을 계산합니다.
  3. 데이터를 추가합니다.