tonsar
tonsar

Reputation: 71

Suggestions on sendbird chat with angular 8

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.

Upvotes: 1

Views: 697

Answers (2)

Martin Ntlhe
Martin Ntlhe

Reputation: 1

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

Upvotes: 0

Paras Wadehra
Paras Wadehra

Reputation: 478

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.

Upvotes: 0

Related Questions