- 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!
- Install Xampp
- Clone the repository into
htdocs
folder of Xampp. If you followed default setup that will beC:\xampp\htdocs
. - Start Xampp control panel. Start the Apache and MySql modules.
- Open phpmyadmin in browser and create a new database called
hotel
. - 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.
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
- Please note that to utilize this you need to have a database named
hotel
in your DBMS(Mysql) and a useradmin
with passwordadmin
with all previleges.
- Frontend - HTML, CSS, JS
- Frameworks - Jquery, Sass, Bootstrap, Charts.js
- Backend - PHP, MYSQL
- PHP packages - phpmailer, mpdf
- Package managers - npm, composer
- Install frontent dependencies -
npm install
- Install backend dependencies -
composer install
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
.\
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.\
- 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
- 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 useradmin
with passwordadmin
with all previleges.