
Tech Stack
Description
PakLocal is a two-sided marketplace app connecting households with verified home-service providers — plumbers, electricians, cleaners, AC technicians, and more — starting in Mardan, Pakistan. I built the full product end-to-end: mobile-first UI in React Native and Expo Router, a Postgres backend on Supabase with Row Level Security policies scoping every table to the right user, and phone-number-based OTP authentication with a role-based routing system that keeps customers and providers in separate, protected parts of the app.
The core challenge was designing a data model and access-control layer that could safely support two very different user roles sharing the same tables — bookings, chat messages, wallet transactions — without leaking one user's data to another. I implemented this with Supabase RLS policies keyed off `auth.uid()`, a centralized route-guarding layer that redirects users to the correct dashboard based on session and role, and a real-time booking status flow (pending → accepted → on the way → completed) that both sides can track live.
Beyond the core booking loop, the app includes in-app chat scoped per booking, a wallet system with cashback and coupon redemption, provider verification badges and ratings, and a review flow after job completion. The project is deployed on Vercel for web access with CI/CD wired to GitHub, and uses EAS for mobile builds.
- Designed and built a two-sided marketplace connecting customers and service providers, with fully separate role-based navigation and dashboards.
- Implemented phone number + OTP authentication using Supabase Auth, with automatic profile creation via a Postgres trigger.
- Wrote Row Level Security policies across all user-scoped tables (bookings, chat, wallet, notifications) to enforce per-user data access at the database level.
- Built real-time booking status tracking and in-app chat scoped per booking.
- Set up CI/CD with GitHub Actions and automatic Vercel deployment for the web build.
Page Info
Home & Categories
Browse service categories and nearby verified providers, with live ratings, ETA, and starting price shown up front

Search & Discovery
Real-time search across categories and providers, with recent searches and popular services surfaced for quick access

Provider Profile
Detailed provider view with verification badges, skills, certificates, gallery, and customer reviews

Booking Flow
End-to-end booking creation with address, service description, scheduling, and payment method selection

Live Tracking & Chat
Real-time booking status updates and in-app chat between customer and provider for a booking in progress

Wallet & Coupons
Wallet balance, cashback transaction history, and coupon redemption for discounted bookings

Authentication
Phone number and OTP-based sign-up and login flow, with role selection for customers and service providers
