Please enable JavaScript.
Coggle requires JavaScript to display documents.
STATUS IN - Coggle Diagram
STATUS IN
STATUS
-
FUNCTIONALITIES
-
-
-
USER CAN LIKE A STATUS
-
- IF USER ID ALREADY EXIST IN THE ARRAY, THEN POP THE USER ID FROM THE ARRAY (UNLIKE)
-
-
-
USERS
FUNCTIONALITIES
REGISTER
- USERNAME SHOULD BE UNIQUE
- EMAIL SHOULD BE UNIQUE
-
-
-
FOLLOW OTHER USER
- USER ID WILL BE PUSHED TO THE FOLLOWERS ARRAY FOR THE 'OTHER USER' OBJECT
- USER ID WILL BE PUSHED TO THE FOLLOWINGS ARRAY TO 'SELF' OBJECT
- IF USER ID ALREADY EXIST IN THE ARRAY, THEN POP
THE USER ID FROM THE ARRAY (UNFOLLOW)
-
-
-
-