Skip to content

satishsurani/The-Fern-Hotel-Booking-Site

Repository files navigation

Hotel Booking System

A dynamic Hotel Booking System built using PHP, MySQL, AJAX, JavaScript, HTML, and CSS. This web-based platform allows users to seamlessly search, filter, and book hotel rooms with real-time availability and secure payment integration.

🚀 Features

Real-Time Availability – Check and book available rooms instantly.
Secure Payments – Integrated Razorpay Payment Gateway for hassle-free transactions.
Admin Panel – Manage bookings, rooms, and customer details efficiently.
Room Filtering – Filter rooms by date and number of guests for easy selection.
User Authentication – Secure login and registration system for customers.
Booking History – Users can view and manage past bookings.
Email Notifications – Automated booking confirmation emails using PHPMailer or SMTP.
AJAX-Powered Interface – Smooth, dynamic interactions without page reloads.

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript, AJAX
  • Backend: PHP, MySQL
  • Payment Gateway: Razorpay
  • Email Service: PHPMailer (or SMTP)

📂 Installation Guide

  1. Clone the repository:
    git clone https://github.com/satishsurani/The-Fern-Hotel-Booking-Site/
  2. Navigate to the project folder:
    cd The-Fern-Hotel-Booking-Site
  3. Import the database:
    • Open phpMyAdmin
    • Create a new database (e.g., fernhotel)
    • Import the provided SQL file (fernhotel.sql)
  4. Configure the database connection:
    • Open config.php
    • Update database credentials:
    $host = 'localhost';
    $username = 'root';
    $password = '';
    $database = 'fernhotel';
  5. Start a local server (e.g., XAMPP or WAMP) and access the project via browser:
    http://localhost/The-Fern-Hotel-Booking-Site/
    

🔑 Admin Panel Credentials

  • Username: admin
  • Password: 123

🤝 Contributing

Feel free to contribute to this project by submitting pull requests or reporting issues.

📜 License

This project is licensed under the MIT License.


📬 Contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published