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
` …