I have followed you here on dev.to :).
Mr. Priyansh Jain. That is node.js xmpp client not XMPP server.
I think you don't read comment section in first block of code.
first : we need an xmpp chat server
second : establish connection to the chat server
Oh darn, didn't realise it.
Love all the knowledge sharing in this thread. Just a friendly reminder everyone’s here to learn from each other’s experiences. 👍🏻
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.