Hello community!
I need help to understand the logic and maybe some example will be very useful! \
I want to create and simple real time chat app with Nodejs and flutter. The simple piece of this I already created like send message to WebSocket server and get it back to all connections but my question's is:
How can I create separate connection's per 2 users ?
The history of messages will be saved in database and probably I will get it into an array and then send it from server side to client?
I think to achieve the second question needed the answer of the first question.
Sorry if that question's is basic but I'm newbie.
Regards!