CarMate

🚗 RideOn — Saath Chalein, Saath Bachayein

A carpooling / ride-sharing mobile app built with Flutter & Supabase.

✨ Features

🛠️ Tech Stack

Layer Technology
Frontend Flutter 3.x (Dart)
Backend Supabase (PostgreSQL + Auth + Storage + Realtime)
Maps OpenStreetMap + Photon + OSRM
State Management Riverpod
Navigation GoRouter (ShellRoute)
Push Notifications OneSignal
Code Generation Freezed + json_serializable

📂 Project Structure

lib/
├── main.dart              # App entry point
├── app.dart               # MaterialApp, theme
├── core/                  # Constants, theme, router, utils
├── models/                # Freezed data models
├── services/              # Supabase integration layer
├── providers/             # Riverpod state management
├── screens/               # UI screens by feature
├── widgets/               # Reusable components
└── l10n/                  # Hindi + English localization

🚀 Setup

  1. Clone & install dependencies:
    flutter pub get
    
  2. Create .env file in project root:
    SUPABASE_URL=your_supabase_url
    SUPABASE_ANON_KEY=your_anon_key
    ONESIGNAL_APP_ID=your_onesignal_id
    
  3. Run the database schema in Supabase SQL Editor:
    # Use database_schema.sql
    
  4. Run the app:
    flutter run
    

📱 Screens

📄 License

Private project — All rights reserved.