Skip to content

Semester 5 Web Development Lab Mini Project.This projects aims to create a full fleged hotel management system which can be further scaled as per requirement. It includes a modern responsive UI built using bootstrap 4. We have also made extensive use of jQuery ajax to perform various network requests.

License

alandsilva26/hotel-management-php

Repository files navigation

Hotel management system using php and mysql.

Update 13th October 2021

  • This project was made hastily with all knowledge of php that I had at that time. This is functional but poorly written code.
  • Was developed on Windows and will work on windows. Has not been tested on linux!

HOW TO USE

  • Install Xampp
  • Clone the repository into htdocs folder of Xampp. If you followed default setup that will be C:\xampp\htdocs.
  • Start Xampp control panel. Start the Apache and MySql modules.
  • image
  • Open phpmyadmin in browser and create a new database called hotel.
  • image
  • Go to your cloned project directory. If you have followed the above steps correctly, running the import.bat file will populate the database.(double click import.bat)
  • Now going to http://localhost/hotel-management-php/ will open the project.

Please go through entire readme for complete project specifications

Semester 5 Web Development Lab Mini Project.This projects aims to create a full fleged hotel management system which can be further scaled as per requirement. It includes a modern responsive UI built using bootstrap 4. We have also made extensive use of jquery ajax to perform various network requests. This project covers the following topics

  • Responsive web design
  • Web apps using PHP
  • Database design
  • Ajax

Resources:

NOTE:

  • Please note that to utilize this you need to have a database named hotel in your DBMS(Mysql) and a user admin with password admin with all previleges.

Technologies used

  • Frontend - HTML, CSS, JS
  • Frameworks - Jquery, Sass, Bootstrap, Charts.js
  • Backend - PHP, MYSQL
  • PHP packages - phpmailer, mpdf
  • Package managers - npm, composer

Dependencies

Get started

  • Install frontent dependencies - npm install
  • Install backend dependencies - composer install

Note:

All sass files are located in public/scss. If making changes here run the command npm run watch-sass in a seperate terminal. This command watches sass files for any changes and compiles them to css directory.
Or you may directly edit the css file in public/css.\

Side note:

If you just require the frontend files of this project see the project https://github.com/alandsilva26/hotel-management-website-template. Installation instructions in readme.\

To-do

  • Bootstrap templating section (no css pure bootstrap)
  • - Client Side
    • - Check in and check out date form(this redirects to reservation form)
    • - Services offered(About us)
    • - Featured Rooms
    • - About Hotel
    • - View all rooms page
    • - Room details page
    • - Payment form(this is temporary as an actual payment gateway will be integrated in the future)
  • - Auth
    • - Login Page
    • - Signup Page
    • - User verification page
  • - Admin
    • - Room actions(add, update, delete)
    • - View all rooms
  • - Features
    • - Book rooms
    • - CRUD rooms(admin)
    • - Statistics(Charts.js)
    • - View my reservations

Other

  • A database export copy is included in the file database.sql
  • Please note that to utilize this you need to have a database named hotel in your DBMS(Mysql) and a user admin with password admin with all previleges.

About

Semester 5 Web Development Lab Mini Project.This projects aims to create a full fleged hotel management system which can be further scaled as per requirement. It includes a modern responsive UI built using bootstrap 4. We have also made extensive use of jQuery ajax to perform various network requests.

Topics

Resources

License

Stars

Watchers

Forks