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.
✅ 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.
- Frontend: HTML, CSS, JavaScript, AJAX
- Backend: PHP, MySQL
- Payment Gateway: Razorpay
- Email Service: PHPMailer (or SMTP)
- Clone the repository:
git clone https://github.com/satishsurani/The-Fern-Hotel-Booking-Site/
- Navigate to the project folder:
cd The-Fern-Hotel-Booking-Site
- Import the database:
- Open phpMyAdmin
- Create a new database (e.g.,
fernhotel
) - Import the provided SQL file (
fernhotel.sql
)
- Configure the database connection:
- Open
config.php
- Update database credentials:
$host = 'localhost'; $username = 'root'; $password = ''; $database = 'fernhotel';
- Open
- Start a local server (e.g., XAMPP or WAMP) and access the project via browser:
http://localhost/The-Fern-Hotel-Booking-Site/
- Username:
admin
- Password:
123
Feel free to contribute to this project by submitting pull requests or reporting issues.
This project is licensed under the MIT License.
- Portfolio: https://satishsurani.vercel.app/
- LinkedIn: linkedin.com/in/satishsurani
- GitHub: github.com/satishsurani