==================================
Hotel Management System
==================================

This document outlines the directory structure for the Hotel Management System source code.

----------------------------------
ROOT DIRECTORY
----------------------------------

/public/
    |-- This is the web root directory. All user requests are directed here by the server configuration. It is the only publicly accessible folder and contains all user-facing PHP files, as well as subdirectories for CSS, API, and images.

/config/
    |-- Contains all project configuration files. The primary file here is 'db.php', which holds the credentials and settings for connecting to the MySQL database.

/db-backup/
    |-- Contains the SQL file ('hotel_management.sql') required to set up the database schema and import the initial data during installation.

/includes/
    |-- Holds reusable PHP code that is included in multiple pages. This includes common components like the site-wide 'header.php' and 'footer.php', as well as core function libraries.

/lib/
    |-- Contains third-party libraries or major classes used by the application. For this project, it holds the PHPMailer library for sending system emails.

/php/
    |-- This directory contains the core backend application logic. It holds the PHP scripts that process form submissions, handle business logic, and manage application state.

/scripts/
    |-- Contains automated scripts designed to be run on a schedule. This includes scripts for sending daily email reminders to guests and low-inventory alerts to management.

----------------------------------
ROOT FILES
----------------------------------

.gitignore
    |-- A configuration file for the Git version control system, specifying which files and directories to ignore.

InstallationGuide.docx
    |-- A detailed, step-by-step guide on how to set up the project on a local XAMPP server.

MAINTENANCE.txt
    |-- A document describing procedures for maintaining the application.

TESTING.txt
    |-- A document outlining the system validation plan and test cases.

User Manual.docx
    |-- The comprehensive manual for end-users, detailing how to use all features of the application.