I am having difficulty finding a solution for adding one to one for either pubnub chat or sendbird chat with angular 8. Ideally, it would be in a messages component and have a left side with all the members the user is chatting with and then a chat area. Can anyone share a resource ( not just sendbird/pubnub chat javascript SDK ). Anyone have a mock component.html and component.ts? Something that I can see how it works.
2 Answers
You might be looking for something like https://www.pubnub.com/docs/chat/tutorials/react - but this is built in React.
It has a live sample app with UI that shows you the channels you belong to on the left and you can click the 'people' icon on the top right to see who all is online in a particular channel. There is full source code available on Github as well for you to deploy as-is or customize as per your needs.
This (somewhat older, but still pertinent) series of blog posts specific to building a Chat app with AngularJS should help you - https://www.pubnub.com/blog/angularjs-chat-getting-started/ - it contains a fully working Angular app demo as well.
Beyond this, let me know what functionality are you looking for and I am happy to point you to a place that describes how to accomplish that.

- 490
- 3
- 10
-
Yeah but that tutorial is for react I'm using angular 8, I know they are both javascript based but functionality is different – tonsar Mar 02 '20 at 23:40
-
I've updated my answer to include a link to AngularJS Chat app – Paras Wadehra Mar 03 '20 at 06:01
-
Angular 8 and angular js are significantly different, so I don't think that tutorial would apply either. – tonsar Mar 03 '20 at 08:32
For angular 8, use node js to handle all pubnub configurations and route angular request to pubnub through node js. That's what I did with my angular 8 project

- 1
- 2