A comprehensive coaching platform offering a unified login for both admins and users, peer-to-peer (P2P) interactions, virtual sessions, and classic (in-person) sessions to cater to various coaching needs.
- Unified Login: Secure login form for both admins and regular users.
- Peer-to-Peer (P2P) Interactions: Facilitate direct interactions between coaches and students.
- Virtual Sessions: Conduct coaching sessions online.
- Classic Sessions: Arrange traditional in-person coaching sessions.
- Free Password Hashing and Password Hash Verifier: Added at the left side of the footer.
-
Download and Install XAMPP:
- Download XAMPP from Apache Friends and install it.
-
Clone the Repository:
git clone https://github.com/jvc-byte/coaching-site.git
-
Move the Project to XAMPP's
htdocs
Directory:- Move the cloned repository to the
htdocs
directory inside your XAMPP installation folder (e.g.,C:\xampp\htdocs\
).
- Move the cloned repository to the
-
Set Up the Database:
- Start XAMPP and ensure Apache and MySQL services are running.
- Open phpMyAdmin and create a new database with the name
coaching_site
. - Import the SQL file provided in the project
coaching-site.sql
to set up the database schema and initial data.
-
Configure Environment Variables:
- Make sure the
database_connection.php
file inside theinclude
directory matches the below configuration settings:
<?php $hostName = "localhost"; $dbUser = "root"; $dbPassword = ""; $dbName = "coaching_site"; $conn = mysqli_connect($hostName, $dbUser, $dbPassword, $dbName); if (!$conn) { error_log("Failed to connect to MySQL: " . mysqli_connect_error()); die("Sorry, there was a problem connecting to the database."); } ?>
- Make sure the
-
Start the Application:
- Open your browser and navigate to http://localhost/coaching-site/index.php.
-
Signup:
- Fill the form with your credientials to create your account.
- you either signup as
p2p
,virtual
orclassic
to access either of the features.
-
Login:
- Enter your credentials to log in. Admins and users use the same login form.
- Use
email@example.com
andpassword
to login as admin. - Navigate to the
p2p
section to find and connect with other users. - Schedule and join
virtual
coaching sessions through the platform. - Arrange
classic
(in-person) coaching sessions via the platform.
We welcome contributions to improve the platform. To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-name
- Open a pull request.
For any inquiries or support, please contact: