A Flight Booking Web Application designed to simplify the process of searching for flights, comparing options, and booking tickets. This project leverages modern technologies to provide a seamless user experience for travelers.
- User Authentication: Secure login and registration system using Firebase Authentication.
- Flight Search: Find flights based on departure and destination cities, travel dates, and passenger details.
- Booking Management: Users can book flights and manage their reservations.
- Responsive Design: Optimized for both desktop and mobile devices.
- Real-time Data: Dynamic updates and real-time synchronization with the backend.
-
- Download Ticket: Option to download booked flight tickets as PNG.
- Frontend: React.js, Tailwind CSS
- Backend: Firebase Cloud Functions, Firebase Realtime Database
- Authentication: Firebase Authentication
- Hosting: Vercel Hosting
-
Clone the repository:
git clone https://github.com/your-username/flight-booking-project.git cd flight-booking-project
-
Install dependencies:
npm install
-
Configure Firebase:
- Set up a Firebase project in the Firebase Console.
- Add your Firebase configuration to a
.env
file in the project root:REACT_APP_FIREBASE_API_KEY=your-api-key REACT_APP_FIREBASE_AUTH_DOMAIN=your-auth-domain REACT_APP_FIREBASE_PROJECT_ID=your-project-id REACT_APP_FIREBASE_STORAGE_BUCKET=your-storage-bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id REACT_APP_FIREBASE_APP_ID=your-app-id
-
Start the development server:
npm start
-
Open the application in your browser at
https://flight-booking-app-mzv7.vercel.app/
.
- Sign Up or Log In: Create an account or log in to access the app's features.
- Search for Flights: Input your travel details to search for available flights.
- Book Flights: Select a flight, provide the required details, and confirm your booking.
- Manage Bookings: View and manage your flight reservations from the dashboard.
flight-booking-project/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Application pages (e.g., Home, Login, Dashboard)
│ ├── services/ # Firebase integration and API calls
│ ├── styles/ # CSS and styling files
│ ├── App.js # Main application file
│ └── index.js # Entry point
├── .env # Environment variables
├── package.json # Project dependencies
└── README.md # Project documentation
- Add a payment gateway for booking confirmations.
- Multi-language support for a global audience.
- Notifications for flight updates and reminders.
- Integration with third-party flight APIs for real-time data.
- Advanced search filters and sorting options.
Contributions are welcome! Please fork the repository and submit a pull request for any features, bug fixes, or enhancements.
This project is licensed under the MIT License. See the LICENSE file for more details.
Developer: Muhammad Shayan
Email: mdshayan590@gmail.com
GitHub: github.com/your-shaya-141
LinkedIn: https://www.linkedin.com/in/muhummad-shayan-44286824a/
Feel free to reach out for feedback or collaboration!