성장에 목마른 코린이

Day 10 코드스테이츠 Final Project 본문

CodeStates/Final Project

Day 10 코드스테이츠 Final Project

성장하는 코린이 2022. 6. 3. 18:57
728x90

오늘의 프로젝트 목표

프로젝트 내용

JoopJoop 스키마

collection : user
document 구조 :
{
    "_id": < ObjectId > ,
    "user_email": < String > ,
    "user_password": < String > ,
    "user_nickname": < String > ,
    "user_profile_img": < String > ,
    "user_badge": < String > ,
    "user_point": < Number >,
    "user_desc": < String >,
    "gathering_id": < Array > # gathering_id 참조
}

collection : gathering
document 구조 :
{
    "_id": < ObjectId > ,
    "gathering_id": < String >,
    "gathering_creator_nickname": < String >,
    "gathering_creator_profile_img": < String >,
    "gathering_title": < String >,
    "gathering_date": < Date >,
    "gathering_location": < String >,
    "gathering_longitude" : < String >,
    "gathering_latitude" : < String >,
    "gathering_createdAt": < Date > ,
    "gathering_updatedAt": < Date > ,
    "user_nickname": < Array >, # user_nickname 참조
    "user_profile_img": < Array >, # user_profile_img 참조
    "gathering_comment_id": < Array >, #gathering_comment_id 참조
}

collection : gathering_comment
document 구조 : 
{
    "_id": < ObjectId > ,
    "gathering_id": < String >,
    "gathering_comment_message": < String > ,
    "gathering_comment_image": < String > ,
    "gathering_comment_createdAt": < Date > ,
    "gathering_comment_updatedAt": < Date > ,
    "user_nickname": < String >, # user_nickname 참조
    "user_profile_img": < String >, # user_profile_img 참조
}

collection : post
document 구조 : 
{
    "_id": < ObjectId > ,
    "post_creator_nickname": < String >,
    "post_creator_profile_img": < String >,
    "post_title": < String > ,
    "post_message": < String > ,
    "post_image": < String >,
    "post_createdAt": < Date > ,
    "post_updatedAt": < Date > ,
    "post_comment_id": < Array >, #post_comment_id 참조
}

collection : post_comment
document 구조 : 
{
    "_id": < ObjectId > ,
    "post_comment_message": < String > ,
    "post_comment_image": < String > ,
    "post_comment_createdAt": < Date > ,
    "post_comment_updatedAt": < Date > ,
    "user_nickname": < String >, # user_nickname 참조
    "user_profile_img": < String >, # user_profile_img 참조
}

collection : gathering_chat
document 구조 : 
{
    "_id": < ObjectId > ,
    "gathering_chat_content": < Array > ,
    "post_comment_createdAt": < Date > ,
    "post_comment_updatedAt": < Date > ,
    "user_nickname": < String >, # user_nickname 참조
    "user_profile_img": < String >, # user_profile_img 참조
}

 

JoopJoop API

 

JoopJoop - JoopJoop

For JoopJoop Developer 👍

joopjoop.gitbook.io

 

Comments