# WOK App Platform

WOK is a core-PHP ride-booking system with a passenger mobile app, driver mobile app, and a web-based admin panel.

## What Is Included

- Core PHP 8.1+ application code
- PDO-based MySQL access with prepared statements
- Admin panel for bookings, drivers, users, notifications, cab fares, and invoices
- Database schema in `docs/database.sql`
- Project workorder PDF in `docs/WOK Website Development Workorder.pdf`

## Project Entry Points

- Root hub: `index.php`
- Admin panel: `admin/index.php`
- Database schema: `docs/database.sql`

## Default Admin Login

- Email: `admin@wok.org.in`
- Password: `Admin@123`

## Setup Notes

1. Import `docs/database.sql` into MySQL.
2. Configure database and API credentials in `admin/core/config.php`.
3. Place the project in your web root as `/wok` or update the URLs accordingly.
4. Ensure `logs/` and `uploads/` are writable.

## External Services

- PHPMailer for invoice email delivery
- OneSignal REST API for push notifications
- MSG91 Flow API for OTP delivery
- Google Maps JavaScript API for tracking
