Paradise Roster is a web application designed to manage user logins and logouts for participants, track incidents, and provide administrative functionalities. The application is built using PHP and MySQL.
- Installation
- Usage
- File Structure
- Database Schema
- Contributing
- License
-
Clone the repository to your local machine:
-
Navigate to the project directory:
cd paradise-roster
-
Set up your web server (e.g., XAMPP, WAMP) and place the project directory in the server's root directory (e.g.,
htdocsfor XAMPP). -
Create a MySQL database named
ParadiseRosterand import the log_entries.sql file to set up the database schema:mysql -u root -p ParadiseRoster < log_entries.sql
-
Update the database connection settings in db_connect.php:
<?php$host = "localhost";$username = "root";$password = "";$database = "ParadiseRoster"; -
Start your web server and navigate to
http://localhost/paradise-rosterin your web browser.
- Register a new user:
- Navigate to the registration page (
register.php) and fill out the form to create a new user account.
- Navigate to the registration page (
- Login:
- Navigate to the login page (
login.php) and enter your credentials to log in.
- Navigate to the login page (
- Dashboard:
- After logging in, you will be redirected to the dashboard (
dashboard.php), where you can select a participant and perform login or logout actions.
- After logging in, you will be redirected to the dashboard (
- Admin Dashboard:
- Navigate to the admin dashboard (
admin_dashboard.php) to manage users, view reports, and manage participants.
- Navigate to the admin dashboard (
- admin_dashboard.php
- dashboard.php
- db_connect.php
- log_entries.sql
- login.php
- process_action.php
- register.php
- admin_dashboard.php: Admin dashboard for managing users, viewing reports, and managing participants.
- dashboard.php: User dashboard for logging in and out participants.
- db_connect.php: Database connection settings.
- log_entries.sql: SQL file for setting up the database schema.
- login.php: User login page.
- process_action.php: Script for processing login and logout actions.
- register.php: User registration page.
Add following fields before incident details (This part will be visible to the next support worker ).- Staff Name:
- Staff Contact:
- Staff Email:
- Service Location:
- Details of the today's Support:
- Medication: (Can select multiple options)
- Morning
- Lunch
- Evening
- Bedtime
- Handover: to which support worker( name)
Instructions for next Staff:
Add edit and delete functionality for support workers.Add a way to inform the next support worker about privious state of the participant.Make the ui responsiveAdd authentication for admin_dashboardFix the bug when adding participants.Export Data on PDF.Report System ( Need to discuss ).
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.