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
Prerequisites
- Install XAMPP web server
- Any Editor (Preferably VS Code or Brackets Text Editor)
- Any web browser with latest version(eg chrome)
Languages and Technologies used
- HTML5/CSS3
- Bootstrap
- JavaScript (to create dynamically updating content)
- XAMPP (A web server by Apache Friends)
- Php
- MySQL (An RDBMS that uses SQL)
- Ajax
- Jquery
- FPDF (to generate PDFs)
Steps to run the project in your machine
- Download and install XAMPP in your machine
- Clone or download the repository
- Extract all the files and move it to the 'htdocs' folder of your XAMPP directory and name it as hotel.
- Start the Apache and Mysql in your XAMPP control panel.
- Open your web browser and type 'localhost/phpmyadmin'
- In phpmyadmin page, create a new database from the left panel and name it as 'hotel'
- Import the file 'hotel.sql' inside your newly created database and click ok.
- Open a new tab and type 'localhost/hotel' in the url of your browser.
- 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’.