Please enable JavaScript.
Coggle requires JavaScript to display documents.
Twitter Clone - Coggle Diagram
Twitter Clone
Route
Tweet
getAllTweets:GET-->/tweet/getAllTweets (10 per request)
deleteTweet:DELETE-->/tweet/:tweetId/delete
getTweet:GET-->tweet/:tweetId/getTweet
User
getUsers:GET-->/users/getUsers
Comment
getTweetComment:GET-->/tweet/:tweetId/comments
deleteTweetComment:DELETE-->tweet/:tweetId/comment/:commentId/delete
updateTweetComment:PUT-->tweet/:tweetId/comment/:comment/update
Auth
signIn:POST-->/auth/signIn
signUp:POST-->/auth/signUp
signOut:GET-->/auth/:userId/signOut
Notification
Model
User
Id
Name
profilePic
backgroundPic
followers
following
Tweet
Id
Name
Asset
CommentIds
Like
userId
Comment
Id
Name
Asset
Like
TweetId
Notification
Controller
Auth
Comments
Tweet
User