A simple restaurant website built using PHP, CSS, HTML, and MySQL.
- Display menu items
- Search by categories
- Table reservations
- User authentication
- Admin panel for managing menu and reservations
- PHP
- HTML
- CSS
- MySQL
-
Clone the repository:
git clone https://github.com/your-username/restaurant-website.git
-
Navigate to the project directory:
cd restaurant-website
-
Import the MySQL database:
- Create a database named
restaurant_website
. - Import the
database.sql
file:mysql -u your-username -p restaurant_website < sql/database.sql
- Create a database named
-
Configure the database connection:
- Open
config.php
. - Update the database details:
define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'your-username'); define('DB_PASSWORD', 'your-password'); define('DB_NAME', 'restaurant_website');
- Open
-
Start the local development server:
php -S localhost:8000
-
Open your browser and go to:
http://localhost:8000