ScoMart — Buy and Sell Safely A peer-to-peer marketplace with escrow-protected payments. Buyers pay through Paystack and funds are held until delivery is confirmed. Sellers get paid after buyers verify their goods. Includes in-app messaging, order tracking, seller dashboard, and buyer protection. Built for Nigeria.
# ScoMart - Peer-to-Peer Marketplace
A mobile-first marketplace built for Nigerian buyers and sellers with escrow-protected payments.
## How It Works
1. Sellers list products with photos and pricing
2. Buyers purchase through Paystack — funds are held in escrow
3. Buyer and seller communicate via in-app messenger
4. Buyer confirms delivery — funds are released to seller
5. If goods are faulty or not delivered, buyer is protected
## Tech Stack
- **Frontend:** Vanilla JavaScript, HTML5, CSS3
- **Backend:** Supabase (PostgreSQL, Auth, Edge Functions, RLS)
- **Payments:** Paystack (Checkout, Transfers API, Mobile Money)
- **Database Security:** Row Level Security policies for buyer/seller data protection
## Features
- User authentication (signup, login, profile management)
- Product listings with image upload
- Real-time in-app messaging
- Shopping cart and checkout
- Escrow payment system
- Order tracking (awaiting payment, confirmed, shipped, delivered)
- Seller dashboard with earnings tracking
- Buyer protection and dispute system
- Admin panel for listings approval and user management
- Dark mode toggle
- Mobile money support (OPay, Moniepoint, PalmPay)
## What I Learned
- Database schema design for marketplace transactions
- Implementing Row Level Security for multi-tenant data
- Debugging production issues (CORS, missing columns, RLS violations)
- Integrating third-party payment APIs
- Building serverless Edge Functions for secure bank transfers
- Managing a full development lifecycle as a solo developer
## Status
ScoMart is functional and approaching public launch. Built entirely on mobile.