This GitHub repository hosts a travel website project which is built using HTML, CSS, JavaScript, and PHP, with a MySQL database to manage tour bookings. It's important to note that this project is intended for local deployment.
The travel website offers a user-friendly menu with various options: "Home," which serves as the informative landing page presenting an overview of the travel organization; "About Us," providing a brief introduction to the travel services; "Popular Tours," where three popular tour options are recommended along with their descriptions; and "Explore," which takes users to the "Book Now" form page. The "Book Now Form" is a user-input form that collects essential information, including the user's name, phone number, email, destination, tour choice, number of travelers, and desired travel dates, which on submission would reflect the data of the user in the database connected.
Before you can use this project, you need the following software tools installed on your machine:
- XAMPP: A web server solution that includes Apache, MySQL, PHP, and phpMyAdmin.
Follow these steps to set up the project locally on your machine:
-
Clone the Repository:
git clone https://github.com/ksamaarora/Travel-Website-HTML-CSS-JavaScript-PHPMySQL.git
-
Move Files & Start XAMPP: Move the cloned repository to the
travel
folder inside thehtdocs
directory within your XAMPP installation. Start the XAMPP control panel and make sure the Apache and MySQL services are running. -
Create Database:
- Access
http://localhost/phpmyadmin
in your web browser. - Create a new database and name it
travel
and make a table with the required column names.
- Access
-
Access the Website: Open your web browser and search
http://localhost/travel
to access the locally hosted travel website.