This project is a comprehensive sports booking facility management system designed to streamline the process of booking sports facilities. It includes features for clients to book facilities and for administrators to manage bookings, payments, and user accounts.
Arena Booking Facility Management System
This system provides a platform for users to browse and book sports facilities while allowing administrators to manage these bookings, handle payments, and oversee user accounts. It aims to simplify the process of managing sports facility reservations and improve user experience.
- PHP 7.4+
- Composer
- MySQL
- Git
-
Clone the repository:
https://github.com/152090RN/CSProject1.git
-
Install Composer:
composer install
-
Setup environment variables:
cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Run migrations:
php artisan migrate
-
Serve the application:
php artisan serve
-
Client Access:
- Register an account or log in.
- Browse available facilities.
- Make a booking and proceed with the payment.
-
Administrator Access:
- Log in with admin credentials.
- Manage bookings, users, and generate reports.
- Booking a Facility:
- Log in as a user.
- Navigate to the facilities page.
- Select a facility and choose a date/time.
- Confirm the booking and complete the payment process.
-
Input:
- User registration details (e.g., name, email, password)
- Booking details (e.g., facility, date, time)
- Payment information
-
Output:
- Confirmation of bookings
- Payment receipts
- Reports for administrators
The project is organized into several key directories, each serving a specific purpose. Below is a brief description of the main folders and their contents.
VendorRyan
├─ CS1Repo
│ ├─ .editorconfig
│ ├─ .env
│ ├─ .env.example
│ ├─ app
│ │ ├─ Actions
│ │ │ ├─ Fortify
│ │ │ │ ├─ CreateNewUser.php
│ │ │ │ ├─ PasswordValidationRules.php
│ │ │ │ ├─ ResetUserPassword.php
│ │ │ │ ├─ UpdateUserPassword.php
│ │ │ │ └─ UpdateUserProfileInformation.php
│ │ │ └─ Jetstream
│ │ │ └─ DeleteUser.php
│ │ ├─ Http
│ │ │ └─ Controllers
│ │ │ ├─ ArenaController.php
│ │ │ ├─ Auth
│ │ │ │ ├─ ConfirmPasswordController.php
│ │ │ │ ├─ ForgotPasswordController.php
│ │ │ │ ├─ LoginController.php
│ │ │ │ ├─ RegisterController.php
│ │ │ │ ├─ ResetPasswordController.php
│ │ │ │ └─ VerificationController.php
│ │ │ ├─ Controller.php
│ │ │ ├─ HomeController.php
│ │ │ ├─ LockController.php
│ │ │ ├─ LogoffController.php
│ │ │ ├─ PaymentConttoller.php
│ │ │ ├─ ReservationController.php
│ │ │ └─ ReservedArenasController.php
│ │ ├─ Listeners
│ │ │ └─ LoginListener.php
│ │ ├─ Models
│ │ │ ├─ Arena.php
│ │ │ ├─ Payment.php
│ │ │ ├─ Reservation.php
│ │ │ ├─ ReservedArena.php
│ │ │ ├─ Role.php
│ │ │ └─ User.php
│ │ ├─ Providers
│ │ │ ├─ AppServiceProvider.php
│ │ │ ├─ FortifyServiceProvider.php
│ │ │ └─ JetstreamServiceProvider.php
│ │ └─ View
│ │ └─ Components
│ │ ├─ AppLayout.php
│ │ └─ GuestLayout.php
│ ├─ artisan
│ ├─ bootstrap
│ │ ├─ app.php
│ │ ├─ cache
│ │ │ ├─ packages.php
│ │ │ └─ services.php
│ │ └─ providers.php
│ ├─ composer.json
│ ├─ composer.lock
│ ├─ config
│ │ ├─ app.php
│ │ ├─ auth.php
│ │ ├─ cache.php
│ │ ├─ database.php
│ │ ├─ filesystems.php
│ │ ├─ fortify.php
│ │ ├─ jetstream.php
│ │ ├─ logging.php
│ │ ├─ mail.php
│ │ ├─ queue.php
│ │ ├─ sanctum.php
│ │ ├─ services.php
│ │ └─ session.php
│ ├─ database
│ │ ├─ database.sqlite
│ │ ├─ factories
│ │ │ └─ UserFactory.php
- Credit to Laravel for the framework.
- Thanks to the authors of any tutorials or libraries used.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, please open an issue on the GitHub repository or contact us at: