A simple web-based billiard management system that allows admins and cashiers to manage tables, bookings, and tournaments. The system also integrates with payment gateways such as Paymongo, Gcash, and PayPal sandbox.
- Create and manage billiard tables.
- Manage booking system for users.
- Manage tournament brackets.
- Access to payment integrations for Paymongo, Gcash, and PayPal (sandbox).
- View and manage booking transactions.
- XAMPP (with PHP and MySQL) installed on your machine.
- phpMyAdmin to manage your MySQL database.
- Paymongo, Gcash, and PayPal sandbox accounts for payment integrations.
git clone https://github.com/your-username/billiard-management.git
cd billiard-management
- Navigate to the
database
folder in your project. - Import the SQL file into phpMyAdmin:
- Go to
phpMyAdmin
->Databases
->Import
. - Select the SQL file from the
database
folder.
- Go to
- Open the
conn.php
file located in theincludes
directory. - Update the following database configuration to match your local phpMyAdmin credentials:
$servername = "localhost";
$username = "root"; // default username
$password = ""; // default password is empty
$dbname = "billiard_management"; // or your database name
- In XAMPP, start the Apache server to run your PHP files.
- Access the application in your browser:
http://localhost/billiard-management/
- Sign up for a Paymongo account.
- Obtain your API keys from the Paymongo dashboard.
- Integrate the API keys into the payment handling sections of your application.
- Sign up for a Gcash merchant account.
- Obtain your API keys from the Gcash merchant dashboard.
- Integrate the API keys into the payment processing area of your application.
- Create a PayPal developer account.
- Obtain your sandbox API credentials.
- Add the credentials to your payment processing configuration.
- Admins have full control over the system, including the ability to:
- Create tables
- Manage bookings
- Handle tournament brackets
- Cashiers can:
- View and manage booking transactions