1# Origin Driving School Management System
2
3A comprehensive database-driven website for managing driving school operations.
4
5**Created for DWIN309 Final Assessment at Kent Institute Australia**
6
7---
8
9## π Project Overview
10
11The Origin Driving School Management System is a full-featured web application designed to streamline the daily operations of a driving school. It provides complete functionality for managing students, instructors, lessons, courses, invoices, payments, vehicles, and communications.
12
13### Group Members
14- **[Member 1 Name]** (Student ID: XXXXX) - Implemented: Database Schema, User Authentication, Student Management
15- **[Member 2 Name]** (Student ID: XXXXX) - Implemented: Instructor Management, Scheduling System, Lesson Tracking
16- **[Member 3 Name]** (Student ID: XXXXX) - Implemented: Invoice Management, Payment Processing, Reporting
17- **[Member 4 Name]** (Student ID: XXXXX) - Implemented: UI/UX Design, Vehicle Management, Communications
18
19---
20
21## π¨ Design Specifications
22
23### Color Palette
24- **Primary Color**: `#4e7e95` (Blue)
25- **Secondary Color**: `#e78759` (Orange)
26- **Light/Background**: `#e5edf0` (Light Blue)
27- **Additional Colors**: Success (#27ae60), Error (#e74c3c), Warning (#f39c12)
28
29### Typography
30- **Font Family**: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
31- **Base Font Size**: 16px
32- **Line Height**: 1.6
33
34---
35
36## π οΈ Technology Stack
37
38- **Frontend**: HTML5, CSS3, JavaScript (Vanilla)
39- **Backend**: PHP 7.4+
40- **Database**: MySQL/MariaDB
41- **Server**: Apache (XAMPP)
42- **Icons**: Font Awesome 6.4.0
43- **Architecture**: MVC (Model-View-Controller)
44
45---
46
47## π Project Structure
48
49```
50origin_driving_school/
51βββ app/
52β βββ core/
53β β βββ Database.php # Database connection class
54β β βββ Model.php # Base model class
55β βββ models/
56β β βββ User.php # User authentication
57β β βββ Student.php # Student management
58β β βββ Instructor.php # Instructor management
59β β βββ Lesson.php # Lesson/scheduling
60β β βββ Invoice.php # Invoice management
61β βββ βββ CourseAndOther.php # Course management
62β
63βββ config/
64β βββ config.php
65β # Configuration settings
66βββ branches/
67β βββindex.php
68β
69βββ communications/
70β βββ index.php
71β βββ view.php
72β
73βββ courses/
74β βββ index.php
75β
76βββ instructors/
77β βββ index.php
78β βββ create.php
79β βββ delete.php
80β βββ edit.php
81β βββ view.php
82β βββ lessons.php
83β βββ profile.php
84β βββ schedule.php
85β βββ students.php
86β
87βββ invoices/
88β βββ index.php
89β
90βββ payments/
91β βββ index.php
92β
93βββ lessons/
94β βββ index.php
95β βββview.php
96β βββcalendar.php
97β βββbulk_action.php
98β
99βββ staff/
100β βββ index.php
101β
102βββ students/
103β βββ index.php
104β βββ book-lesson.php
105β βββ profile.php
106β βββ progress.php
107β βββ create.php
108β βββ delete.php
109β βββ edit.php
110β βββ view.php
111β βββ lessons.php
112β βββ invoices.php
113β
114βββ vehicles/
115β βββ index.php
116β
117βββ public/
118β βββ css/
119β β βββ style.css # Main stylesheet
120β β βββ dashboard.css # Dashboard styles
121β βββ js/
122β β βββ script.js # Main JavaScript
123β β βββ dashboard.js # Dashboard JavaScript
124β βββ uploads/ # File uploads directory
125| βββ .htaccess
126βββ views/
127β βββ layouts/
128β βββ header.php # Header layout
129β βββ footer.php # Footer layout
130β βββ sidebar.php # Sidebar navigation
131βββ index.php # Homepage
132βββ login.php # Login page
133βββ logout.php # Logout handler
134βββ dashboard.php # Main dashboard
135βββ database_schema.sql # Database schema
136βββ README.md # This file
137```
138
139---
140
141## π Installation & Setup
142
143### Prerequisites
144- XAMPP (or similar) with PHP 7.4+ and MySQL/MariaDB
145- Web browser (Chrome, Firefox, Edge recommended)
146- Text editor (VS Code recommended)
147
148### Step-by-Step Setup
149
150#### 1. Install XAMPP
1511. Download XAMPP from [https://www.apachefriends.org](https://www.apachefriends.org)
1522. Install XAMPP to `C:\xampp` (Windows) or `/opt/lampp` (Linux)
1533. Start Apache and MySQL services from XAMPP Control Panel
154
155#### 2. Create Project Directory
1561. Navigate to `C:\xampp\htdocs\` (or your web server root)
1572. Create a new folder named `origin_driving_school`
158
159#### 3. Copy Project Files
160Copy all project files into the `origin_driving_school` directory:
161```
162htdocs/
163βββ origin_driving_school/
164 βββ app/
165 βββ config/
166 βββ public/
167 βββ views/
168 βββ index.php
169 βββ login.php
170 βββ (other files)
171```
172
173#### 4. Create Database
1741. Open phpMyAdmin: [http://localhost/phpmyadmin](http://localhost/phpmyadmin)
1752. Click "Import" tab
1763. Choose the `database_schema.sql` file
1774. Click "Go" to import
178
179The database `origin_driving_school` will beβ