This project is a demo showing how you can create a chat app in only 10 lines of code using PubNub's V4 JavaScript SDK. View the Chat Code.
PubNub’s primary product is a realtime publish/subscribe messaging API built on a global Data Stream Network. Messages sent with PubNub are delivered in under 0.25 seconds and PubNub supports over 70 SDKs. PubNub provides the secure, scalable, and reliable infrastructure to power any realtime application.
Want to learn more about this project or build a clone from scratch? Check out the tutorial (coming soon).