Skip to content

Latest commit

Β 

History

History
107 lines (79 loc) Β· 3.73 KB

File metadata and controls

107 lines (79 loc) Β· 3.73 KB

CarBook B2B Car Dealer App

CarBook is a modern B2B platform for car dealers and administrators to manage vehicle listings, subscriptions, and dealer accounts with ease. Built using Expo, React Native, Zustand, and Supabase, it delivers a seamless and secure experience for both admins and dealers.


πŸš€ Overview

CarBook streamlines the workflow for car dealerships, providing robust tools for inventory management, dealer onboarding, and subscription control. With real-time updates and secure media storage, it empowers both admins and dealers to focus on what matters mostβ€”growing their business.


✨ Features

  • Dealer Registration & Approval: Dealers register and await admin approval before accessing the platform.
  • Admin Dashboard: View platform stats, manage dealers, approve users, and monitor subscriptions.
  • Car Listings: Dealers can list vehicles, upload images, and manage their inventory.
  • Subscription Management: Flexible plans for dealers, with listing limits and plan upgrades.
  • Real-time Updates: Live notifications for pending approvals and listing status.
  • Secure Storage: Car images, videos, and audio stored securely with Supabase Storage.
  • Role-based Access: Separate experiences for Admins and Dealers.
  • Modern UI: Clean, intuitive interface for both web and mobile.

πŸ“Έ Screenshots

πŸ‘€ User (Dealer) Experience

User All Listings List Vehicle User Profile User Listings

πŸ›‘οΈ Admin Experience

Admin Dashboard Manage Dealers Pending Users Manage Subscriptions Admin Listings Edit Subscription

πŸ› οΈ Getting Started

1. Clone the Repository

git clone https://github.com/your-org/car-book.git
cd car-book

2. Install Dependencies

npm install

3. Configure Supabase

  • Create a project on Supabase
  • Copy your Project URL and anon key
  • Update .env:
    EXPO_PUBLIC_SUPABASE_URL=your-supabase-url
    EXPO_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
  • Run the SQL scripts in supabase/schema.sql and supabase/storage.sql via Supabase SQL Editor

4. Start the App

npm start

πŸ“‚ Folder Structure

  • app/ β€” Main app screens and navigation
  • components/ β€” Reusable UI components
  • store/ β€” Zustand stores for state management
  • lib/ β€” Supabase client setup
  • constants/ β€” App-wide constants
  • assets/ β€” Fonts and images
  • supabase/ β€” Database and storage SQL
  • types/ β€” TypeScript types

πŸ”’ Security & Real-time Features

  • Row Level Security (RLS) on all tables
  • Admins can approve/reject dealers
  • Real-time notifications for pending users and listings
  • Secure file storage for car media

πŸ“„ License

MIT License. See LICENSE for details.


πŸ™ Credits