Register
-> Backend receives register request, gives appropriate response for mobile to login and handle requests as a user
Add/Delete Friend
-> User searches for friend, API returns a list of users, User selects another user to add, sends request to add user, request is pending until target user accepts
Message Friend
-> User messages friend (send message to server)
-> Friend messages user (updates in real time)
Register -> Backend receives register request, gives appropriate response for mobile to login and handle requests as a user
Add/Delete Friend -> User searches for friend, API returns a list of users, User selects another user to add, sends request to add user, request is pending until target user accepts
Message Friend -> User messages friend (send message to server) -> Friend messages user (updates in real time)