简体   繁体   中英

How can i integrate chat feature in my Angular4 application?

I want to integrate chatting feature in Angular4 application with text message, smilies, attachment sharing, group chat etc.

Chatting between the users of my application. Users list is available from my database. Want to do chat among them.

Is there any open source frameworks for this?

Please assist

You can achieve that by Integrating Web Sockets, Node & Angular

WebSockets is a protocol that provides a bi-directional communication channel. This means that a browser and web server can maintain real-time comms, sending messages back and forth while the connection is open.

here's a full article (tutorial) about how you can create a realtime chat application using node, socket and angular with a working demo: https://medium.com/dailyjs/real-time-apps-with-typescript-integrating-web-sockets-node-angular-e2b57cbd1ec1

of course you can customize the chat by adding icons and attach files ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM