Firebase Mini Blog

Create a user, log in, post something, then save & load it from Firestore.

Logged in as

(no one)

1 Create User

This only exists in blogApp.users for now.

2 Log In

Sets the loggedIn variable and reveals the post box.

4 Firestore

Saves and loads the entire blogApp object.

Check the console to see the document snapshot and loaded data.

Posts Preview (Optional)

If you want, you can write a tiny function to loop blogApp.posts and render them into this box.

No posts rendered yet. They’re still just living in memory / Firestore.