Client-side only: this playground runs in your browser. Firebase keys stay in sessionStorage on this tab — we never send or store them on our servers.

Firestore

Query, subscribe, and add documents. Path can be a collection or a subcollection like inbox/uid/chats.

firestore
const users = await db.firestore.get('users', {
  orderBy: [{ field: 'created_at', direction: 'desc' }],
  limit: 10,
});

const stop = db.firestore.subscribe('users', (docs) => {
  console.log(docs);
});

Connect a Firebase project

Paste your web config on the credentials page. Nothing is saved on our side — the SDK talks to Firebase from this tab only.

Add credentials