🔥
Firebase Setup Wizard
Follow these steps — takes about 5 minutes
✅ After setup, every computer/phone gets live data updates
▸ Sale on computer 1 → computer 2 updates in 2 seconds
▸ Stock changes sync across all devices instantly
▸ 100% free — Google Firebase free tier
▸ Works offline, syncs when internet returns
1 Create a free Google Firebase account
🔗 Open Firebase Console (opens in new tab)
① Sign in with any Google/Gmail account
② Click the big "Create a project" or "Add project" button
③ Type a name: great-chid-electro
④ On the next screen — turn OFF Google Analytics (click the blue toggle so it goes grey)
⑤ Click "Create project" — wait about 30 seconds
2 Create the database (Firestore)
① In your new project, look at the left sidebar
② Click "Build" to expand it, then click "Firestore Database"
③ Click the big "Create database" button
④ A popup appears — choose "Start in production mode" → click Next
⑤ Pick any region (pick one close to Nigeria — europe-west1 is fine) → click Enable
⑥ Wait a moment — the database is being created
3 Open the database to everyone (set rules)
① You should now see the Firestore page. Click the "Rules" tab at the top
② You will see some text starting with rules_version...select all of it and delete it
③ Copy the text in the box below and paste it in:
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if true;
    }
  }
}
④ Click the "Publish" button
4 Register the dashboard as a web app
① Click the ⚙️ gear icon at the top of the left sidebar → select "Project settings"
② Scroll down to the "Your apps" section
③ Click the </> Web icon button
④ Type any nickname — e.g. great-chid-dashboard — then click "Register app"
⑤ You will see a block of code with firebaseConfig — it looks like the box below
const firebaseConfig = {
  apiKey: "AIzaSyAbc123...",
  authDomain: "great-chid-electro.firebaseapp.com",
  projectId: "great-chid-electro",
  storageBucket: "great-chid-electro.appspot.com",
  messagingSenderId: "123456789012",
  appId: "1:123456:web:abc123"
};
Select all the text inside the curly braces { } — copy it
5 Enter your credentials below and connect
Copy each value from your firebaseConfig into the fields below: