# WOK Implementation Instructions

This repository contains the WOK ride-booking application and admin panel.

## Folder Layout

- `admin/` - core PHP admin panel
- `docs/` - schema and project reference files
- `logs/` - runtime error logs
- `uploads/` - uploaded files such as driver photos

## Recommended Setup

1. Import `docs/database.sql` into MySQL.
2. Edit `admin/core/config.php` with environment values or set server environment variables.
3. Confirm that `logs/` and `uploads/` are writable by PHP.
4. Open `/wok/index.php` in the browser to reach the project hub.
5. Use `/wok/admin/login.php` for the admin panel.

## Default Admin Account

- Email: `admin@wok.org.in`
- Password: `Admin@123`

## Operational Notes

- All POST forms use CSRF tokens.
- All database queries should remain prepared statements.
- Error details are written to `logs/error.log` and not shown in the browser.

## External Integrations

- Set Google Maps API key for live tracking.
- Set OneSignal credentials for push notifications.
- Set MSG91 credentials for OTP delivery.
- Set SMTP credentials for invoice emails.
