Project Description:
Lighthouse Cafe is a web application built using PHP that allows users to order coffee and snacks. The application provides three distinct panels: Guest, User, and Admin.
Key Features:
- Guest Panel:
- Allows visitors to browse the menu and view product details.
- Provides a search bar for easy product navigation.
- User Panel:
- Requires login credentials.
- Features a profile page for user information.
- Enables users to add items to their cart, remove or edit existing orders.
- Includes a "Forgot Password" functionality using PHP Mailer.
- Admin Panel:
- Provides administrative control over the application.
- Utilizes PHPMyAdmin for database management.
- Allows for CRUD (Create, Read, Update, Delete) operations on products and orders.
Technology Stack:
- Programming Language: PHP
- Database: MySQL (managed through PHPMyAdmin)
- Design: Bootstrap
Installation:
- Clone the Repository:
git clone https://github.com/rishabhrm/lighthouse-cafe.git
- Set up Database:
- Create a new database and import the provided
project_db.sql
file. - Update the database connection details in the
connection.php
file.
- Create a new database and import the provided
- Run the Application:
- Access the application's index file (e.g.,
index.php
) in your web browser.
- Access the application's index file (e.g.,
Usage:
- Guest Users:
- Browse the menu and search for products.
- Registered Users:
- Login to access your profile and manage orders.
- Admin Users:
- Login to the admin panel for managing products, users and orders.
Contributing:
Contributions are welcome! Please feel free to fork the repository and submit pull requests.
Additional Notes:
- For more detailed information, refer to the project's documentation or comments within the code.
- If you encounter any issues or have questions, please open an issue on GitHub.
Screenshots: