🔧 One-time Firebase Setup
Connects the whole family to one shared inventory + cash balance.
- Go to console.firebase.google.com and sign in.
- Add project → name it e.g.
lew-larder. - Add a Web app → copy the
firebaseConfigobject. - Build → Realtime Database → Create (test mode is fine to start).
- Rules tab → publish:
{ "rules": { ".read": "auth != null", ".write": "auth != null" } - Authentication → Sign-in method → Anonymous → Enable.
- Paste config below and Save.
databaseURL is required (Realtime Database).
⚖️ Who Owes / Who’s Ahead
⚡ Needs Restock
🛒 Take Items
Taking food increases what your family should put back (as food or cash).
📦 Add Food to Inventory
Restock the shelves. Enter what you paid — that $ settles your balance the same as cash.
➕ Add New Item
📁 Categories (PAR = total desired stock)
👨👩👧👦 Families
💵 Cash In (no food)
Cash is treated like inventory value. Paying cash settles your balance the same way as bringing $ worth of food.
How this works
Balance = (food costs paid + cash in) − (value of food taken).
Behind $20? Either bring ~$20 of groceries or put $20 cash in. Same result on the books.
🛍️ Shop / Restock Guide
Pick who is shopping. You’ll see what they owe and exactly what the larder is short on — so they can go to the store with a clear list and budget.
📋 Inventory by Category
PAR is total desired qty for the category. Tap to expand.
⚖️ Balances
📊 Overview
📜 Recent Activity
Tap Edit on a take to fix quantity, or Delete to undo it (stock is adjusted).
⚙️ Data & Connection
Clear History removes takes, food adds, and cash records — inventory counts stay as they are.
Shared live data via Firebase.