Logo Lanfrica

LNjengaTech/AIM-Mombasa

Creator:
LNj
Host:
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. * …