Find your Piece Of Kenya
# ShambaMatic DreamHub πΎ
**Find your Piece of Kenya** β An AI-powered land intelligence and property discovery platform for the Kenyan market.
Built with React, TypeScript, Vite, and Google Gemini AI. Designed for deployment on GitHub Pages.
## β¨ Features
- πΊοΈ **Interactive Map** β Explore land parcels across Kenya with MapLibre GL
- π€ **AI Analysis** β Google Gemini-powered property insights and recommendations
- π **Data Visualization** β Charts and metrics for market trends
- π **Secure Auth** β Supabase authentication integration
- π± **Responsive Design** β Mobile-first with Tailwind CSS
- β‘ **Fast Performance** β Vite + React 18 optimized builds
## π Tech Stack
| Layer | Technology |
|-------|------------|
| Frontend | React 18, TypeScript, Vite |
| Styling | Tailwind CSS, Shadcn/UI |
| Maps | MapLibre GL JS |
| AI | Google Gemini API (`@google/genai`) |
| Backend | Supabase (Postgres, Auth, Realtime) |
| Deployment | GitHub Pages |
| AI Assistant | GitHub Copilot |
## π Quick Start
### Prerequisites
- Node.js 18+
- npm or yarn
- Google Gemini API key (Get one free)
- Supabase project (Create free)
### Installation
```bash
# Clone the repository
git clone
github.com
cd ShambaMatic-DreamHub
# Install dependencies
npm install
# Configure environment
cp .env.example .env.local
# Edit .env.local with your API keys:
# VITE_GEMINI_API_KEY=your_gemini_key
# VITE_SUPABASE_URL=your_supabase_url
# VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
# Start development server
npm run dev
```
Open
localhost in your browser.
### Build for Production
```bash
npm run build
# Output in ./dist β deploy to GitHub Pages, Vercel, Netlify, etc.
```
## π Project Structure
```
src/
βββ components/ # Reusable UI components
βββ pages/ # Page components
βββ hooks/ # Custom React hooks
βββ services/ # API services (Gemini, Supabase)
βββ utils/ # Utility functions
βββ types/ β¦