Project built in PHP, HTML, and CSS (no frameworks) Includes functionalities for users and administrators and is connected to a MySQL database.
This is a restaurant presentation website created with PHP, HTML, and CSS, without using any frameworks. The site includes functionalities for both users and administrators and is connected to a MySQL database.
✅ User registration
✅ User authentication (standard user or admin mode)
✅ View menu
✅ Create / Edit / Delete Reviews (only for the logged-in user)
✅ Create / Edit / Delete Reservations
The administrator can:
- Delete all reservations or reviews
- Add new dishes to the menu
ℹ️ I did not provide the administrator with the ability to add or edit customer reviews - I believe it would not be ethical.
All these are managed through a simple and intuitive interface that allows performing the 4 basic database operations:
Create - Read - Update - Delete (CRUD)
1️⃣ utilizatori (id_utilizator, nume, prenume, username, parola, email, admin)
2️⃣ meniu (id_preparat, nume_preparat, descriere, gramaj, pret, categorie)
3️⃣ recenzii (id_recenzie, id_utilizator, nota_recenzie, comentariu_recenzie, data_recenzie)
4️⃣ rezervari (id_rezervare, id_utilizator, numar_persoane, data, ora, loc, telefon, comentarii)
- Clone the repo (
git clone https://github.com/andrei-vasile-dev/site-prezentare-restaurant.git) - Configure the database (create a MySQL database, import the
poianabucatelor.sqlfile, and update theconfig.phpfile with your MySQL access credentials) - Run the site -> Place the project in a local server (e.g., XAMPP, WAMP, MAMP) and access
http://localhost/project-name/in your browser.
The result can be observed in the following 4 videos (please be patient as they might take a moment to load, but they will eventually appear):



