KU-Solution-Challenge-GoGreen/GoGreen-Server

Recipe list 조회 API

Closed this issue · 0 comments

worjs commented

Recipe list는 크게 2가지 방식으로 조회합니다.

  1. GET /recipes/users/:userId
  2. GET /recipes/bookmark/users/:userId

각 레시피 데이터에는 id, 이름과 썸네일 정도만 있으면 됩니다.

  1. 조회 시에 recipe id, name + 연결된 meal 중에 userId에 해당하는 것 하나 가져와서 photo만 조회.
  2. 모아서 list형태로 리턴

조회시에 soft delete 유의해서 조회해주세요.