A modern, full-featured catering service website focused on Ghanaian and African cuisine, built with PHP, MySQL, and Bootstrap 5.
# Adehye Catering Services
A modern, full-featured catering service website focused on Ghanaian and African cuisine, built with PHP, MySQL, and Bootstrap 5.
## Features
### Public Features
- π **Home Page**: Hero section, featured foods, category browse
- π½οΈ **Menu Page**: Browse all food items, filter by categories, search functionality
- βΉοΈ **About Page**: Company story, team, core values, stats
- π **Contact Page**: Contact form, Google Map integration
- π **Authentication**: User registration & login, with auto-location detection
### Customer Features
- π **Shopping Cart**: Add, update, remove items, cart count badge in header
- π¦ **Checkout**: Delivery address, date selection (auto-detect via Geolocation API, delivery date picker (future dates only), Paystack payment integration
- π **Orders**: View order history
- π **Bookings**: Event booking with event type, date, guest count, venue, special requests
### Admin Dashboard
- π΄ **Food Management**: Create, edit, delete food items
- π **Category Management**: Manage food categories
- π¦ **Order Management**: View orders, update statuses
- π
**Booking Management**: View bookings, update statuses
- π₯ **User Management**: Manage users
- π **Reports**: Sales & reports (placeholder)
## Tech Stack
| Component | Technology |
|-----------|------------|
| Backend | PHP 8+ (Custom MVC) |
| Database | MySQL (XAMPP) |
| Frontend | Bootstrap 5.3 |
| Icons | Font Awesome |
| Payment | Paystack API |
| Geolocation | Browser Geolocation + OpenStreetMap Nominatim |
| Email | PHPMailer |
## Installation & Setup
### Prerequisites
- XAMPP (or similar with PHP 8+, MySQL)
- Composer (optional, for dependencies like PHPMailer)
### Steps
1. Clone or download the project into your XAMPP `htdocs` folder (or web root
2. Create the database using database/schema.sql:
```sql
CREATE DATABASE IF NOT EXISTS adehye_catering CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE adehye_catering;
-- Run the rest of the schema.sql script
` β¦