Service marketplace platform for Ghana's informal sector
# WorkNPay - Service Marketplace Platform
A mobile-first e-commerce platform connecting customers with verified skilled and semi-skilled workers in Ghana's informal sector, featuring integrated Paystack payment processing and escrow functionality.
## 🌐 Live Demo
**Live Server**:
worknpay.infinityfreeapp.com
Try out the platform with full functionality including booking, payments, and worker management!
## 🚀 Features
### For Customers
- Browse and search for workers by category
- View worker profiles with ratings and reviews
- Book specific services with transparent pricing
- Secure payment processing via Paystack
- Track booking status in real-time
- Rate and review workers
- Open disputes if needed (48-hour window)
### For Workers
- Create professional profile
- List multiple services with individual pricing
- Accept/decline booking requests
- Upload job completion photos
- Request payouts (instant or 24-hour)
- Respond to customer disputes
- Track earnings and statistics
### For Administrators
- Comprehensive dashboard with statistics
- User management (customers, workers, admins)
- Booking management and monitoring
- Dispute resolution (view both sides)
- Payout processing
- Platform reports and analytics
## 💻 Tech Stack
- **Backend**: PHP 8.x
- **Database**: MySQL 8.0
- **Frontend**: HTML5, CSS3, Vanilla JavaScript
- **Payment Gateway**: Paystack API
- **Architecture**: MVC Pattern
## 📋 Requirements
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache/Nginx web server
- Paystack account (for payments)
## 🛠️ Installation
### Local Development
1. **Clone the repository**
```bash
git clone
github.com
cd worknpay
```
2. **Create database**
```bash
mysql -u root -p
CREATE DATABASE worknpay;
exit;
```
3. **Import database**
```bash
mysql -u root -p worknpay < db/dbforlab.sql
```
4. **Configure database credentials**
Copy `settings/db_cred.example.php` to `settings/db_cred.php` and update:
```php
define("SERVER", "l …