Skip to content

vengadeshks/Hotel-Management-System-with-admin-page-using-php-

Repository files navigation

Hotel-Management-System-with-admin-page-using-php-

Visit : live demo

Admin Credentials

Username = venky
Password = 123

A hotel management system in which client can perform operations such as booking a room, event, marriage hall and either log in with their existing account or as a guest. 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, admin can add newly developed rooms to the existing rooms in the hotel

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. JavaScript (to create dynamically updating content)
  3. XAMPP (A web server by Apache Friends)
  4. Php
  5. MySQL (An RDBMS that uses SQL)
  6. 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 extract the fpdf file in current folder (foldername is must be new).
  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 'hotelmanagement'
  7. Import the file 'hotelmanagement.sql' inside your newly created database and click ok.
  8. Open a new tab and type 'localhost/new' in the url of your browser.
  9. Hurray! That's it!

SOFTWARES USED

  • XAMPP was installed on the windows and APACHE2 Server and MySQL were initialized. And, files were built inside C:\xampp\htdocs\hms
  • Brackets was used as a text editor.
  • Google Chrome Version 77.0.3865.90 was used to run the project (localhost/hms 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’.