TourHaven is a web application that connects tourists with local guiders.
- User registration and login for tourists and guiders.
- Tourists can search for guiders/cars.
- Tourists can post trip requests and manage them.
- Tourists can make payments and rate guiders/trips.
- Guiders can manage their vehicles.
- Guiders can find and accept job/taxi requests.
- Guiders can manage their accepted jobs and update job statuses.
- PHP
- MySQL
- HTML, CSS, JavaScript
- Google API Client
- Stripe PHP library
-
Clone the repository:
git clone https://github.com/your-username/TourHaven.git
(Replace with the actual URL if available)
-
Database setup:
- Create a MySQL database named
tourhaven. - Set up the database schema. (Note: Table structure details are not yet provided in this README.)
- Create a MySQL database named
-
Install dependencies: Run
composer installin the project root directory. -
Environment variables:
- Create a
.envfile in the project root. - Add your Google API credentials to the
.envfile:GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret
- Create a
-
Web server configuration: Configure your web server (e.g., Apache, Nginx) to point to the project's root directory as the document root.
Navigate to the respective login pages (index.php for the main login, Tourists/login.php, or Guiders/login.php).
- Register for a new account or log in.
- Search for available guiders or specific tour packages.
- View guider profiles and their listed services/vehicles.
- Book a tour or taxi by providing necessary details.
- Make payments for booked services.
- After the trip, provide a rating or feedback.
- Register for a new account or log in.
- Create and manage your profile.
- Add and manage your vehicle details (if applicable).
- View available job postings or taxi requests from tourists.
- Accept requests that match your services.
- Update the status of your ongoing jobs.
We welcome contributions to TourHaven! Please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name # or git checkout -b bugfix-name - Make your changes and commit them with clear and descriptive messages.
- Push your changes to your forked repository.
- Create a pull request to the main repository's
main(ormaster) branch. - Ensure your code follows the existing coding style.
- Add or update tests if applicable.