A web-based restaurant management system built with PHP, MySQL, and TailwindCSS. The system supports two types of users: restaurant owners and customers.
- Add, edit and delete burgers from their menu
- View their restaurant's menu
- Manage burger details (name, price, extras, quantity)
- Upload burger images
- Secure authentication system
- Browse list of restaurants
- View restaurant menus
- Add items to cart
- Manage shopping cart
- Place orders (future feature)
- Secure authentication system
BurgerRiza/
├── assets/ # Static assets like logos
├── config/ # Configuration files
├── CSS/ # Stylesheets
├── db/ # Database schemas
├── JS/ # JavaScript files
├── template/ # PHP template files
├── uploads/ # User uploaded files
└── utils/ # Utility functions
user- Stores user information and authenticationrestaurant- Restaurant detailsproduct- Menu items/burgerscart- Shopping cart informationcart_item- Individual items in cartsorder_table- Customer ordersinvoice- Order invoices and details
-
Clone the Repository:
git clone <repository-url> cd BurgerRiza
-
Set Upload Permissions:
chmod 777 uploads
⚠️ The uploads directory must have 777 permissions to allow file uploads -
Database Setup:
- Create a MySQL database named 'riza'
- Import
db/final databse of riza.sql - Configure database connection in
config/connection.php
-
Frontend Setup:
npm install npm run tailwind
-
XAMPP Configuration:
- Place project in XAMPP's htdocs directory
- Start Apache and MySQL services
- Access at http://localhost/BurgerRiza
- Prepared SQL statements to prevent SQL injection
- Password hashing using MD5 (Note: Future upgrade to stronger hashing planned)
- Session-based authentication
- Role-based access control
- File upload validation and sanitization
- Input sanitization and validation
- Direct pushes to main branch are prohibited
- All changes must be made through Pull Requests
- Pull Requests require review and approval
- Use prepared statements for all database queries
- Validate and sanitize all user inputs
- Follow PSR coding standards
- Use TailwindCSS utility classes for styling
- Order Management System
- Payment Gateway Integration
- Restaurant Rating System
- Advanced Search and Filtering
- Real-time Order Tracking
- Email Notifications
- Upgrade Password Hashing to bcrypt
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
⚠️ Remember: No direct pushes to main branch allowed. All changes must go through PR review.
This project is for educational purposes and is not licensed for commercial use.
BurgerRiza Development Team
For support or issues, please file an issue in the repository's issue tracker.