Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

DIY Virtual Whiteboard Using Google and Firebase

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
2,592
Language
English
Hacker News Points
-
Summary

Brain Drain is an application designed to enhance productivity through real-time collaboration by providing a virtual whiteboard where users can interact as if they were in the same room. Utilizing PubNub's Data Stream Network for real-time updates, Firebase for storage, authentication, and configuration, and Google services for identity verification, the app creates a seamless collaborative experience. The first part of the tutorial series focuses on setting up the necessary environment and infrastructure, including configuring authentication and defining a data stream protocol to support real-time collaboration. The setup involves integrating several third-party libraries and configuring dependencies to ensure smooth interaction between Firebase and PubNub. The application structure includes a main activity for drawing and a sign-in activity for authentication, with Firebase AuthListener managing user sessions. Future enhancements plan to add graphical elements, social features, and the capability to cast the board to a nearby screen, further expanding the app's collaborative potential.