Building Realtime Apps with Firebase


Ossama Alami

VP, Developer Happiness at Firebase
+OssamaAlami
@ossamaalami

Agenda

  • What is Firebase?
  • Live Coding!
  • Build an app with Firebase

What is Firebase?


Firebase is a platform for building realtime apps



Data
store and sync data across clients
Authentication
easily authenticate users
Hosting
production-grade static asset hosting

Works Across Platforms

More About Firebase

  • 80,000 registered developers
  • Founded in 2011 in SF
  • Customers include: Citrix, CBS, Twitch, Warby Parker, and Coffee Meets Bagel
  • One million concurrents
  • Billions of operations per week

Store and Sync Data


Write Data to Firebase


var ref = new Firebase("https://dbc.firebaseio-demo.com/");
ref.set("Hello YC Hacks!");


Read Data from Firebase


ref.on("value", function (snapshot) {
  var data = snapshot.val(); console.log(data);
}); 

Let's write some code!

yhacks.firebaseapp.com

Resources



Thank You!