In this tutorial, you’ll discover how to use PubNub to set up and power collaborative applications.

PubNub can power your application to be able to have multiple users collaborate and interact with each in real time.

Your app will include:

  • Publish: Update users in real-time with mouse positions, drawing, and name updates.

  • Subscribe: Listen for and view other mouse positions, drawing, and name updates in real-time.

  • Presence: Get currently present users and listen to new presence events. Generate new drawing pointers that track other user mouse positions and names.