AI-Enhanced Automotive Inventory Management & Matchmaking system is a specialized digital platform designed to bridge the gap between physical car showrooms (yards) in Mombasa and potential buyers.
# AIM-Mombasa - Phase 1 Setup Complete! π
## Quick Start
### 1. Install Dependencies
```bash
npm install
```
### 2. Set Up Supabase
1. Create a Supabase account at
supabase.com
2. Create a new project
3. Run the SQL migrations from `supabase/migrations/` in order (see detailed guide)
4. Create a storage bucket named `car-images` (make it public)
### 3. Configure Environment
```bash
# Copy the example environment file
cp .env.local.example .env.local
# Edit .env.local and add your Supabase credentials
# Get these from: Supabase Dashboard β Settings β API
```
### 4. Run Development Server
```bash
npm run dev
```
Visit
localhost
---
## Project Structure
```
aim-mombasa/
βββ app/
β βββ auth/ # Authentication pages
β β βββ login/ # Login page
β β βββ signup/ # Signup pages (dealer, buyer, admin)
β βββ dashboard/ # Dealer dashboard
β βββ admin/ # Admin panel
β βββ page.tsx # Landing page
βββ components/
β βββ ui/ # Reusable UI components
βββ lib/
β βββ supabase/ # Supabase client utilities
β βββ utils.ts # Helper functions
βββ supabase/
β βββ migrations/ # Database schema SQL files
β βββ README.md # Setup instructions
βββ types/
βββ database.types.ts # TypeScript type definitions
```
---
## Phase 1 Features
### Implemented
- Supabase database with 8 tables
- Row Level Security (RLS) policies
- Pioneer badge system (first 10 dealers)
- Authentication (login, dealer/buyer/admin signup)
- Dealer dashboard with stats
- Admin verification workflow
- Premium landing page
- Role-based routing
### Phase 2 (Next)
- Car inventory management
- Image uploads
- Marketplace gallery
- Search & filtering
---
## Documentation
- **Setup & Verification Guide** - Complete testing checklist
- **Supabase Setup** - Database migration instructions
- **Implementation Plan** - Technical architecture
---
## Quick Test
1. * β¦