Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinthulnith/restaurant-website
Full Restaurant Website (php, SQL, JavaScript, css, html)
https://github.com/kevinthulnith/restaurant-website
css emailvalidation full-stack-web-development html javascript php restuarant resturent-website searchbar sql sql-server website websites
Last synced: about 1 month ago
JSON representation
Full Restaurant Website (php, SQL, JavaScript, css, html)
- Host: GitHub
- URL: https://github.com/kevinthulnith/restaurant-website
- Owner: KevinThulnith
- Created: 2024-11-02T16:42:57.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T17:32:55.000Z (3 months ago)
- Last Synced: 2024-11-10T03:03:58.248Z (3 months ago)
- Topics: css, emailvalidation, full-stack-web-development, html, javascript, php, restuarant, resturent-website, searchbar, sql, sql-server, website, websites
- Language: CSS
- Homepage:
- Size: 11.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Static Badge](https://img.shields.io/badge/JavaScript-%23F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)
![Static Badge](https://img.shields.io/badge/html5-%23E34F26?style=for-the-badge&logo=html5&logoColor=black)
![Static Badge](https://img.shields.io/badge/css3-%231572B6?style=for-the-badge&logo=css3&logoColor=black)
![Static Badge](https://img.shields.io/badge/php-%23777BB4?style=for-the-badge)
![Static Badge](https://img.shields.io/badge/mysql-%234479A1?style=for-the-badge)# Restaurant-Website (Full stack)
Full stack restuarant website developed with Php, Css, Html, JavaScript, Composer
## Install PHPMailer with Composer
Run the following Composer command to install PHPMailer:
```bash
composer require phpmailer/phpmailer
```## View installed SSL Certificates
View and mange installed SSL certificates on your local server by pressing win key + r, giving this command
```bash
certmgr.msc
```## Autoload PHPMailer
Send email fucntion imports
```javascript
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;require '../vendor/autoload.php';
require '../vendor/autoload.php';
```## SSL Certificate
Genarate via SSl Certificate by using this link 🔗youtube for your loocal project
# 🍽️ The Gallery Café - Web Application
This project is a web application for **The Gallery Café**, designed to manage restaurant operations efficiently. It includes a range of features tailored for customers, employees, and administrators, with a strong emphasis on security and user experience.
## 🚀 Main Features
- **Cart Management**: Add, remove, clear, and submit items in the cart.
- **User Authentication**:
- Login
- Signup
- Logout
- Reset Password
- OTP Sending
- User Verification
- **Reservations**: Make and manage table reservations.
- **User Profile**: Edit and update profile information.## 🏷️ Admin Functions
- **User Management**:
- Add new users (customers, admins, staff)
- Manage existing users (employees and customers)
- **Menu Management**:
- Add, update, and delete menu items
- Manage menu item categories
- **Order Management**: Oversee both online and in-shop orders.
- **Reservations Management**: Manage customer reservations.
- **Restaurant Management**:
- Manage tables and their types
- View order and reservation details## 🏷️ Employee Functions
- **Menu Management**: Update and manage menu items.
- **Order Management**: Oversee online and in-shop orders.
- **Reservations Management**: Handle customer reservations.
- **Restaurant Management**: Manage restaurant tables.
- **View Information**: Access order and reservation details.## 🏷️ Customer Functions
- **Ordering**: Place and manage online orders.
- **Reservations**: Book and manage restaurant reservations.
- **Menu Browsing**: View available menu items.## ⚙️ Utility and Security Features
- **Access Control**: Different user roles have restricted access to specific pages.
- **Cross-Site Request Forgery (CSRF) Protection**: Enhanced form security.
- **HTTPS Enforcement**: All traffic is redirected to HTTPS for secure communication.
- **Security Headers**:
- `X-Content-Type-Options: nosniff`: Prevents browsers from interpreting files as a different MIME type.
- `X-Frame-Options: DENY`: Prevents the page from being embedded in an iframe.
- **Session Security**:
- Secure session settings (HTTP-only cookies, secure cookies over HTTPS).
- Session regeneration every 30 minutes to mitigate session fixation.
- Session data validation on each request to prevent session hijacking (IP address and user agent checks).
- Automatic session destruction if mismatched session data is detected.
- **CSRF Tokens**: Forms are secured with CSRF tokens.
- **Secure Logout**: Proper session termination.
- **Error Handling**: Robust error management for a smoother user experience.
- **SSL Certificate**: Ensure a secure connection.## 🛠️ Installation & Setup
1. Clone the repository:
```bash
git clone https://github.com/KevinThulnith/Restaurant-Website.git
```