Skip to content

A PHP & MySQL-based web app for caravan rentals. Features user authentication, dashboard, image uploads, and caravan management.

License

Notifications You must be signed in to change notification settings

EbrahimAR/RentMyCaravan.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚐 RentMyCaravan.io

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.


✅ Features

  • 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

🛠 Tech Stack

  • Frontend: HTML, CSS
  • Backend: PHP
  • Database: MySQL
  • Local Server: XAMPP

📂 Project Structure

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

🚀 How to Run

1. Clone the repository

git clone https://github.com/EbrahimAR/AIExamSystem.git
cd RentMyCaravan

2. Setup Database

  • Open phpMyAdmin and create the database:
    CREATE DATABASE rentmycaravan;
  • Import rentmycaravan.sql into this database.

3. Configure Database

Update config/database.php with your XAMPP credentials:

$host = "localhost";
$dbname = "rentmycaravan";
$username = "root";
$password = "";

4. Run on Localhost

  • Place the project inside htdocs.
  • Start Apache and MySQL in XAMPP.
  • Open in browser:
    http://localhost/RentMyCaravan/pages/index.php

▶ Usage

Guest users

  • View caravan listings and details.

Registered Users

  • Login or register.
  • Add caravans with images.
  • Edit or delete caravans from the Dashboard.

🔮 Future Improvements

  • Add search and filter functionality.
  • Implement booking system.
  • Integrate payment gateway.
  • Add reviews and ratings.

👨‍💻 Author

Ebrahim Abdul Raoof

LinkedIn

GitHub


📜 License

This project is licensed under the MIT License. See LICENSE for details.

About

A PHP & MySQL-based web app for caravan rentals. Features user authentication, dashboard, image uploads, and caravan management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published