Skip to content

SUSH9391/Resort-Management-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resort Management App

Description

The Resort Management System is a web-based application designed to streamline resort booking and management. This project showcases the interaction between the user interface and the client-side interface within a single platform. It utilizes a Relational Database Management System (RDBMS) using MySQL, managed via PHPMyAdmin, and is deployed locally using XAMPP.

Features

User Features

  • User registration and login functionality
  • Secure authentication system
  • Room booking and cancellation
  • Viewing booking history
  • User reviews and ratings for rooms

Admin Features

  • Admin dashboard for managing bookings and user interactions
  • Approving or rejecting room bookings
  • Managing room availability

Additional Features

  • Responsive design for a seamless experience across devices
  • Clean and intuitive user interface

Installation

1. Clone the Repository

git clone https://github.com/yourusername/Resort-Management-System.git
cd Resort-Management-System

2. Set Up the Database

  1. Start the XAMPP server and ensure both Apache and MySQL services are running.
  2. Open PHPMyAdmin (http://localhost/phpmyadmin).
  3. Create a new database (e.g., resort_db).
  4. Import the resort.sql file into the database.

3. Configure Database Connection

Modify the database credentials in config.php (or the relevant file handling database connections):

$servername = "localhost";
$username = "root";
$password = "";
$database = "resort_db";

$conn = new mysqli($servername, $username, $password, $database);
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}

4. Start the Application

  1. Ensure that the XAMPP server is running with both Apache and MySQL services.
  2. Open your web browser and navigate to:
    http://localhost/Resort-Management-System/php files/index.php
    
  3. Follow on-screen instructions to register, log in, and manage bookings.

Deployment Guide

1. Hosting Options

To deploy the application online, choose a suitable hosting platform:

  • Shared Hosting (cPanel-based) → Hostinger, Bluehost, A2 Hosting
  • Cloud VPS (manual setup) → AWS, DigitalOcean, Linode

2. Database Setup

  1. Export the resort.sql file from PHPMyAdmin (local setup).
  2. Import it into the live MySQL database on your hosting provider.
  3. Update config.php with remote database credentials (provided by the host).

3. Uploading Files

  • Use cPanel File Manager or FTP (FileZilla) to upload the project to the public_html/ directory.

4. Configure Domain and URL Paths

  • Replace all instances of http://localhost/... with the actual domain name or server IP.

5. Security Considerations

Disable PHP error display (display_errors = Off in php.ini).
Implement HTTPS (SSL certificate).
Sanitize user input to prevent SQL injection.
Enable server-side validation to enhance security.


Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • Backend: PHP
  • Database: MySQL (via PHPMyAdmin)
  • Server: XAMPP (Local Development)

License

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

Contributing

Contributions are welcome!

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit changes (git commit -m "Added new feature").
  4. Push to your fork (git push origin feature-branch).
  5. Open a pull request.

Acknowledgments

🚀 Tools Used: XAMPP, PHPMyAdmin
🎯 Inspired by: Modern booking and resort management systems
🙌 Special Thanks: Contributors and open-source supporters


This README is now more detailed, well-structured, and includes deployment instructions. Let me know if you want any further refinements! 🚀

About

A simple web application designed to demonstrate the workflow between the user interface and client interface within a single platform. This project provides a practical understanding of how a Relational Database Management System (RDBMS) functions by integrating user interactions with a database-driven system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors