Full Stack Application for Restaurant using PHP and PostgreSQL
- Project Overview
- Features
- Technologies Used
- Installation
- Usage
- Functionality
- Known Issues
- Contributing
- License
The dbms-package is a full-stack web application designed for restaurant management. It allows users to view menus, manage orders, and provide feedback. The application is built using PHP for the backend and PostgreSQL for the database.
- User authentication and role management
- Menu management (CRUD operations)
- Cart functionality for users
- Bill generation and management
- Feedback submission from users
- Responsive design for mobile and desktop
- Frontend: HTML, CSS, Bootstrap, JavaScript
- Backend: PHP
- Database: PostgreSQL
- Package Manager: Composer
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/mdaashir/dbms-package.git
-
Navigate to the project directory:
cd dbms-package -
Install the dependencies:
composer install composer update
-
Set up your database:
- Create a PostgreSQL database and import the necessary schema and data.
-
Configure your database connection:
- Update the database connection settings in the
inc/connect.inc.phpfile.
- Update the database connection settings in the
To run the application, use the following command:
composer startVisit http://localhost:your_port in your web browser to access the application.
The application includes the following functionalities:
- Menu Management: Admins can add, edit, or delete menu items.
- User Management: Users can register, log in, and manage their profiles.
- Cart Management: Users can add items to their cart and proceed to checkout.
- Bill Management: Users can view their bills after placing orders.
- Feedback System: Users can submit feedback about their experience.
- Some features are still under development, including:
- Advanced search functionality for menu items.
- User profile management enhancements.
- Improved error handling and validation.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.