first sorry for my english!
I have an existent API REST written in Node.js with mongoDB. Now I need add chat functionality to my app. After read a lot of alternatives and docs, I thing the better option is use XMPP Server in paralel. I found mongooseIM is a very greate alternative for this, but it don´t support mongoDB. Then I have the idea to use node-xmpp to connect with mongooseIM server (to register users, admin chat rooms, etc.), send Auth (XMPP) to the client and authenticate client with mongooseIM server for chat functions. The architecture that I thinking, is like this:
https://i.stack.imgur.com/2Kn6V.png
After an expensive analisys and researchs, my brain is out haha! For this I would like ask you if I in the right way or not. If my idea is wrong, please tellme which are better options, considering your experience.
Any answer y helpful. Thanks in advance.
Best.
via Franco Charriol
No comments:
Post a Comment