항해 99 3기 11조 1차 미니프로젝트 S.A

오세명·2021년 9월 13일
0

뭐 먹었니(What-did-you-eat)

프로젝트 참가자

조민갑, 박선웅, 김현수, 오세명

프로젝트 간략한 설명

오늘 하루 식사 맛있게 잘 하셨나요? 저희는 맛있게 먹은 음식을 포스팅하여 공유하여 볼 수 있는 미니 웹사이트를 제작하려고 합니다.

와이어프레임

링크

DB documents 가안

애로사항: 특정 유저가 작성한 포스트를 출력하려고 할 때 posts collection에 '누가' 작성했는지에 대한 부분을 추가할 필요성이 생겼습니다.

// users collection
{
  "nickname_give": "inputFromNickname", // in server: nickname_receive 
  "username_give": "inputFromUsername", // in server: username_receive
  "password_give": "inputFromPassword", // in server: password_receive
},
  
 // posts collection
{
  "date_give": "inputFromDate", // in server: date_receive
  "food_give": "inputFromFood", // in server: food_receive
  "comment_give": "inputFromComment" // in server: comment_receive
  "food_image_give": "inputFile" // in server: food_image_receive
}

예상되는 API 목록

기본적인 기능부터 구현한 다음 점차적으로 기능을 확장하겠습니다.

기능URLMETHODREQUESTRESPONSE
포스트 리스트 출력/GETnull포스팅 리스트
포스트 작성/postingPOST{ date, food, comment, food_image }{ mesasge }
로그인/sign_inPOST{ username, password }미정
회원가입/sign_upPOST{ nickname, username, password }미정
회원가입-아이디 중복 확인/sign_up/check_upPOST미정미정
로그아웃/logoutPOST미정미정
유저가 작성한 피드 출력/:userIdGETnull유저가 작성한 포스팅 리스트

GITHUB REPO

링크

profile
오네명입니다.

0개의 댓글