Logo Lanfrica

JamesKolleh/findit-liberia

Domaine:

digital infrastructure

Type de record:

software
Créateur:
Jam
HĂ´te:
# 🇱🇷 FindIt Liberia A mobile-friendly business directory for Liberia. Search local businesses by name, category, or location — and call them with one tap. --- ## ⚡ Quick Start ```bash # 1. Install dependencies npm install # 2. Configure Firebase (see below) # 3. Run the dev server npm run dev ``` --- ## 🔥 Firebase Setup 1. Go to Firebase Console → **Create a project** 2. Enable **Firestore Database** (Start in test mode for development) 3. Go to **Project Settings → Your apps → Web app** → copy your config 4. Paste the values into `src/firebase.js`: ```js const firebaseConfig = { apiKey: "YOUR_API_KEY", authDomain: "YOUR_PROJECT_ID.firebaseapp.com", projectId: "YOUR_PROJECT_ID", storageBucket: "YOUR_PROJECT_ID.appspot.com", messagingSenderId: "YOUR_MESSAGING_SENDER_ID", appId: "YOUR_APP_ID", }; ``` --- ## 🗄️ Firestore Data Structure Collection: **`businesses`** | Field | Type | Example | |------------|--------|------------------------------| | `name` | string | "Monrovia Fresh Mart" | | `category` | string | "Supermarket" | | `location` | string | "Broad Street, Monrovia" | | `phone` | string | "+231 770 123 456" | ### Sample seed data Add these documents in Firestore Console → `businesses` collection: ```json { "name": "Monrovia Fresh Mart", "category": "Supermarket", "location": "Broad Street, Monrovia", "phone": "+231 770 123 456" } { "name": "Liberia Grand Hotel", "category": "Hotel", "location": "Capitol Hill, Monrovia", "phone": "+231 886 234 567" } { "name": "Roberts Pharmacy", "category": "Pharmacy", "location": "Tubman Blvd, Sinkor", "phone": "+231 777 345 678" } { "name": "Sunrise Restaurant", "category": "Restaurant", "location": "Mamba Point, Monrovia", "phone": "+231 880 456 789" } { "name": "Lonestar Cell", "category": "Telecom", "location": "Randall Street, Monrovia", "phone": "+231 770 567 890" } { "name": "Providence Island Clinic", "category": "Hospital", "locat …

Languages