Skip to content

A vanilla PHP built website using Bootstrap 5 and MySQL. A user is able to compare accommodation options, make/cancel a booking (if before 48hrs to arrival). Data on all accommodations is fetched/created via OOP classes in PHP.

Notifications You must be signed in to change notification settings

JustInTimez/HotelBookingApp

Repository files navigation

HotelBookingApp

PHP built site (no framework used) that is able to compare accommodation options and make/cancel a booking.

Description

Use to compare hotels/accommodation and make a booking

As a user, you are able to:

  • Register and/or login to the client site | customer and staff roles assigned
  • Edit some of your user profile information
  • Compare accommodation options when on confirmation page. Similar priced accommodations will display
  • Make bookings
  • View bookings
  • Cancel bookings (if before 48hrs of arrival date)

What I want to add in the future:

  • Stricter validation all around
  • Admin access to CMS pages (normal customers to not be able to access)
  • Customer can add their accommodation (after approval from a staff/admin member)

Using the site/app

  • Please find the export of the database in the folder path /processes/sql_export/
  • Import the database so that you may use it with your AMP software and PHP MyAdmin with this project
  • Additionally, copy the folder to your htdocs folder and host it via your AMP software.

You will need to either login or register first.
For testing purposes, please use these creds to test admin login feature (staff role): justin@woohoo.com | 12345
Alternatively, create a user account and you will be directed to the home page!
You will now have access to view the current list of hotels/accommodation.
Click the Details button to view more info of the accommodation and to make a booking

About

A vanilla PHP built website using Bootstrap 5 and MySQL. A user is able to compare accommodation options, make/cancel a booking (if before 48hrs to arrival). Data on all accommodations is fetched/created via OOP classes in PHP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published