정해야 할 것
프로젝트명 (임시 이름: Dev. pool)
- Dev. pool
- Dev Sea
- see의 의미도 있게
- Dev Ocean
있다면? user journey 보완
해야할 일의 목록화
상태관리 라이브러리 선택
작업 분배 및 일정 산출
기능
로그인 / 회원가입
회원가입
POST /signup { "email": String, "fullName": String, "password": String } //200 ok { "user": User, "token": String }
로그인
POST /login { "email": String, "password": String } 200 ok { "user": User, "token": String }
로그아웃 - 데이터 필요없음
포스팅
CRUD
API





검색
API

좋아요
API


댓글
CRD
인증된 사용자만 댓글작성 가능 header Authorization: bearer JWT토큰 POST /comments/create { "comment": String, "postId": String }
Get /comments/{commentId} { "_id": String, "comment": String, "author": User, "post": String, // 포스트 id "createdAt": String, "updatedAt": String }
본인이 작성한 글만 삭제 가능 DELETE /comments/delete header Authorization: bearer JWT토큰 { "id": String }
프로파일 (프로필?)
나의 알림 목록
// 알림 목록 GET /notifications
팔로잉, 팔로워 목록
팔로우
// 팔로우 POST /follow/create { "userId": String } // 언팔 DELETE /follow/delete { "id": String }
팔로워 목록
GET /users/{userId}
프로필 정보 수정
// 이미지 변경 POST /users/upload-photo isCover: false image: Binary // 내 정보 수정 PUT /settings/update-user { "fullName": String, "username": String } // 비번 변경 PUT /settings/update-password { "password": String }
내 활동 이력 (좋아요 수, 댓글, 포스트 갯수)
GET /users/{userId}