Skip to content

vengadeshks/Hotel-Management-System-Ajax-PHP-Mysql

Repository files navigation

Hotel-Management-System-Ajax-PHP-Mysql

A hotel management system in which clients can perform operations such as booking a room and event. It is possible for the clients to cancel the rooms that they had booked and the admin has control over the rooms allotted to the clients and can also manage client requests for rooms, event halls. From the admin side, the admin can add a new type of room and events, then admin can add new room and hall to the corresponding type, with that admin has an over view of hotel booking on the dashboard with graph.

Visit : Live Demo

login credentials

Admin :

Email : [email protected]
Password : 123

Client :

Email : [email protected]
Password : 1234

Schema

localhost _ 127

Prerequisites

  1. Install XAMPP web server
  2. Any Editor (Preferably VS Code or Brackets Text Editor)
  3. Any web browser with latest version(eg chrome)

Languages and Technologies used

  1. HTML5/CSS3
  2. Bootstrap
  3. JavaScript (to create dynamically updating content)
  4. XAMPP (A web server by Apache Friends)
  5. Php
  6. MySQL (An RDBMS that uses SQL)
  7. Ajax
  8. Jquery
  9. FPDF (to generate PDFs)

Steps to run the project in your machine

  1. Download and install XAMPP in your machine
  2. Clone or download the repository
  3. Extract all the files and move it to the 'htdocs' folder of your XAMPP directory and name it as hotel.
  4. Start the Apache and Mysql in your XAMPP control panel.
  5. Open your web browser and type 'localhost/phpmyadmin'
  6. In phpmyadmin page, create a new database from the left panel and name it as 'hotel'
  7. Import the file 'hotel.sql' inside your newly created database and click ok.
  8. Open a new tab and type 'localhost/hotel' in the url of your browser.
  9. Hurray! That's it!

SOFTWARES USED

  • XAMPP was installed on the windows 8 machine and APACHE2 Server and MySQL were initialized. And, files were built inside C:\xampp\htdocs\hospital
  • Visual Studio Code was used as a text editor.
  • Google Chrome Version 77.0.3865.90 was used to run the project (localhost/hms-hospital/home.html was used as the url).

Starting Apache And MySQL in XAMPP:

The XAMPP Control Panel allows you to manually start and stop Apache and MySQL. To start Apache or MySQL manually, click the ‘Start’ button under ‘Actions’.