This is a fast-food application.
Php takes care of everything on the front end.
Before going further, please make sure you are processing the repositories in order as follow :
1. git clone https://github.com/Evengelius/php_fastfood.git your_desired_name
2. Create a database and name it fastfood.
3. Import the SQL file present here, in your database.
4. // includes/config.inc/php
define ('DSN', 'mysql:dbname=fastfood;host=localhost;charset=utf8');
define ('USER', 'yourUserName');
define ('PASSWORD','yourPassWord');
5. Test it.
(I suggest you to use Laragon for it as it creates virtual hosts automatically).
User Management
Each customer order corresponds to a specific user: the one who orders.
Which means, whenever you register : you create a command user.
Inventory management
With each purchase, the quantity of burgers or drinks is decremented per unit corresponding to the quantity chosen.
Order management
Once an order is done, it appears on the user's profile page with a resume of itself.
Exception handling
A 404 page is displayed when the product or page does not exist or is poorly written.