A PHP & MySQL-based web application for renting caravans. This platform provides user authentication, caravan management, and a dynamic listing system for an easy caravan rental experience.
-
Guest Users
- Browse available caravans
- View caravan details
-
Registered Users
- Register & Login securely
- Add new caravans for rent
- Edit or delete your caravan listings
- Dashboard to manage caravans
-
Admin Mode (optional if implemented)
- Manage users and listings
- Remove inappropriate caravans
- Frontend: HTML, CSS
- Backend: PHP
- Database: MySQL
- Local Server: XAMPP
RentMyCaravan/
│── assets/
│ └── images/ # Caravan images
│── config/
│ └── database.php # Database connection
│── pages/
│ │── about.php # About page
│ │── add_caravan.php # Add new caravan
│ │── caravan_summary.php # Caravan summary page
│ │── dashboard.php # User dashboard
│ │── delete_caravan.php # Delete caravan confirmation
│ │── edit_caravan.php # Edit caravan form
│ │── index.php # Home page
│ │── list_caravans.php # Caravan listings
│ │── login.php # Login page
│ │── register.php # Registration page
│ └── server/ # Backend scripts
│ │── add_caravan.php
│ │── delete_caravan.php
│ │── edit_caravan.php
│ │── login_user.php
│ │── logout.php
│ │── register_user.php
│── wireframes/ # UI design wireframes
│── rentmycaravan.sql # Database schema & sample data
│── README.md # Project documentation
├── LICENSE
└── .gitignore
git clone https://github.com/EbrahimAR/AIExamSystem.git
cd RentMyCaravan
- Open phpMyAdmin and create the database:
CREATE DATABASE rentmycaravan;
- Import
rentmycaravan.sql
into this database.
Update config/database.php
with your XAMPP credentials:
$host = "localhost";
$dbname = "rentmycaravan";
$username = "root";
$password = "";
- Place the project inside htdocs.
- Start Apache and MySQL in XAMPP.
- Open in browser:
http://localhost/RentMyCaravan/pages/index.php
- View caravan listings and details.
- Login or register.
- Add caravans with images.
- Edit or delete caravans from the Dashboard.
- Add search and filter functionality.
- Implement booking system.
- Integrate payment gateway.
- Add reviews and ratings.
Ebrahim Abdul Raoof
This project is licensed under the MIT License. See LICENSE for details.