I have read a lot of questions relating this, but none of them are satisfying.
Existing App
A minimalist social network implemented using Expressjs as an API.Using MySql as DB.socket.io for notifications and ember.js as a frontend framework.
What I want to integrate
I want to implements only a few features of XMPP such as
- Peer 2 Peer Messaging
- Presence and Last Seen
- Group Chat
- Read Receipts
A basic idea I got from reading similar questions.
- Need a client library (Strophe.js,Converse.js)
- Need a XMPP server (ejabberd,Openfire,Prosody)
Questions
- How do I integrate chat here ?
- How do I authenticate XMPP users (FYI, I have JWT Authentication implemented currently) ?
- Suggestions on using redis(pub/sub) with socket.io or mqtt pub/sub for implementing the chat.Is it scalable ? / What about performance ?
What I asked might be too broad.But still don't have any idea on using which set technologies to use.