Logo Lanfrica

LNjengaTech/AIM-Mombasa

Créateur:
LNj
Hôte:
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. * …