Spika is messenger module for Web/iOS/Android with backend. You can include messenger feature to your app or service with minimum code.
Instruction for each device you can see here.
https://github.com/waqar1502/spika-Chat/tree/master/web/src/server
https://github.com/waqar1502/spika-Chat/tree/master/web/src/client