- userID, auth, pageID, emotion
[ {postID, user, UNIXtime, useravator(url), image(url), Happiness, liesCount, Comments count, description} ]
- userID, auth, Pic, description
success: boolean
- userID, auth, postID
success: boolean
- postID,
[
userName, useravatar, text, likes
]
- userId, auth, commentContent, postID
success: boolean
- Pic
float
- userId, auth, postID (check the posi is belong to the user)
success: boolean
- userId, auth
[
type: "comment" | "likes",
usserID, useravatar, text(id type==comment)
]
- userID, password
success: boolean; setCookie JWT
- userID, email, password
success: boolean
- token
success: boolean
- userId, auth, postID
success: boolean