Welcome to the TripGo repository! This project is a Travel Agency Booking System designed to help customers easily explore and book exciting travel packages. It provides a user-friendly interface for customers to view available packages, book their trips, and receive basic invoices for their bookings.
TripGo offers an easy-to-use platform where customers can:
- Browse through available tour packages.
- Book a tour package by providing necessary details.
- Receive a basic invoice after booking, summarizing customer information and booking details.
-
Tour Packages Page:
- Displays a list of tour packages with essential details:
- Title
- Description
- Price
- Available Dates
- Images
- Data is fetched from a MongoDB collection to dynamically display the available packages.
- Displays a list of tour packages with essential details:
-
Package Booking:
- Each package has a 'Book Now' button.
- Clicking the 'Book Now' button opens a form where customers can input:
- Name
- Phone Number
- Number of travelers
- Special requests
- After the customer fills in their details, the booking is saved to MongoDB.
-
Invoice Generation:
- After booking, the system generates a basic invoice which includes:
- Customer Details (Name, Email, Phone Number)
- Package Details (Title, Price, Number of Travelers)
- Total Price (Calculated based on the price per person * number of travelers)
- After booking, the system generates a basic invoice which includes:
-
Frontend:
- React
- TailwindCSS
-
Backend:
- Node.js
- Express.js
-
Database:
- MongoDB (for storing package and booking details)
Ensure that you have the following installed:
- Node.js
- MongoDB
- Clone the repository:
git clone https://github.com/Aditya1or0/TripGo.git
- Navigate to the frontend directory:
cd TripGo/frontend
- Install the necessary dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the backend directory:
cd TripGo/backend
- Install the necessary dependencies:
npm install
- Start the server:
npm start
Ensure your MongoDB server is running and properly connected to the backend.
- Navigate to the homepage where you can view all available tour packages.
- Each package will have details like the title, description, price, available dates, and an image.
- Click on the 'Book Now' button next to the package you wish to book.
- Fill in the required customer information and submit the form.
- Your booking will be saved in MongoDB.
- After the booking is confirmed, you will receive an invoice with your booking details, including the customer and package information.
We welcome contributions to enhance the functionality of TripGo! If you'd like to contribute:
- Fork the repository.
- Create a new branch
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request with a description of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub Repository: https://github.com/Aditya1or0/TripGo
- Email: adityapandit264@gmail.com