Your Delivery is Our Duty 🇷🇼
A full-stack delivery platform for Kigali, Rwanda — connecting senders, receivers, and motari drivers.
- 🏍️ 3 Roles: Sender, Receiver, Motari (Driver)
- 🗺️ Live GPS Tracking with Leaflet maps & OSRM routing
- 💳 MTN MoMo & Airtel Money payments via Supabase Edge Functions
- 🤖 AI Price Prediction (RandomForest ML model)
- 📱 Real-time notifications via Supabase Realtime
- 🌙 Dark/Light theme
git clone https://github.com/map-boy/easy-go.git
cd easy-go
npm installcp .env.example .envEdit .env:
VITE_SUPABASE_URL=https://oqlrpjoentqxlfotmyat.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
npm run devnpx vercel --prodOr connect your GitHub repo to Vercel for auto-deploys on every push.
src/
├── App.tsx # Root component
├── index.css # Global styles + CSS variables
├── main.tsx # Entry point
├── contexts/
│ ├── AuthContext.tsx # Auth state (Supabase)
│ └── ThemeContext.tsx # Dark/light theme
├── lib/
│ ├── supabase.ts # Supabase client
│ ├── notifications.ts # Push notification helpers
│ ├── pricePredictor.ts # ML price model (RandomForest)
│ └── location.ts # GPS tracking
└── components/
├── Welcome.tsx # Landing screen
├── Auth.tsx # Login / Register
├── Dashboard.tsx # Main shell + bottom nav
├── NotificationBell.tsx # Real-time notifications
└── tabs/
├── HomeTab.tsx # Live map + KPI cards
├── SenderOrderTab.tsx # Send package flow
├── ReceiverTab.tsx # Receiver parcel tracking + MoMo pay
├── DriverTab.tsx # Driver orders + duty toggle
├── TrackTab.tsx # Order tracking map
├── ProfileTab.tsx # Profile + settings
└── order/
└── SenderOrderView.tsx # Full order form with MoMo payment
Tables: profiles, drivers, orders, notifications
Key columns on orders:
status: awaiting_payment → pending → accepted → in_transit → deliveredsender_paid: booleanpayer_name,payer_number: MoMo payer detailsmomo_payment_id,payment_status: MoMo transaction tracking
Deploy these Supabase Edge Functions:
request-payment— initiates MTN MoMo collectioncheck-payment— polls payment status
supabase functions deploy request-payment --no-verify-jwt
supabase functions deploy check-payment --no-verify-jwt- Email: wandaatech@gmail.com
- Phone: +250 780 867 473
- Available 24/7 ...............................