Maï is a final year project at 3W Academy. I developed this website to showcase the restaurant and facilitate takeout orders and table reservations. It also includes a login feature and a back-end section for site management. This project is a training assignment and is not intended for commercial use. The images used in this project are not free to use and may be subject to copyright restrictions.
An online version of the site is available at: mai-restaurant
Email: [email protected] Password: Test01@test01
Before you begin, ensure you have the following software installed on your system:
- Wamp
- Composer
- Node.js
Copy the git clone code
https://github.com/NicolasSouply/Mai.git
Clone the GitHub repository into the www
directory of your Wamp installation:
- Make sure Wamp is running and the Apache server is started.
Create a .env
file in the project root and configure it with your database information:
DB_NAME="project"
DB_USER="johnDoe"
DB_PASSWORD="YourPassword"
DB_CHARSET="utf8"
DB_HOST="localhost"
Replace DB_USER, DB_PASSWORD, and DB_NAME with your own database credentials.
Import the project's database into your database management system (e.g., phpMyAdmin):
- Open phpMyAdmin or your preferred database management tool.
- Create a new database named project.
- Import the provided SQL file into the newly created database.
Navigate to the project directory and install PHP dependencies using Composer:
composer install
update dependencies
composer update
Navigate to the project directory and install JavaScript dependencies using npm:
npm install
Ensure that Wamp is running and the Apache server is started. Open your web browser and navigate to http://localhost/your-project-directory.
Wamp Issues: Ensure that no other programs are using the same port as Apache (usually port 80). Composer Issues: Make sure you have the latest version of Composer installed. Node.js Issues: Ensure that Node.js and npm are correctly installed and their versions are up to date.
This project is licensed under the MIT License.
All images included in this project are private and are not covered by the MIT License. Unauthorized use, reproduction, or distribution of the images is prohibited.