Skip to content

shaya-141/Flight-Booking-App

Repository files navigation

Flight Booking Project

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.


Features

  • 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.

Tech Stack

  • Frontend: React.js, Tailwind CSS
  • Backend: Firebase Cloud Functions, Firebase Realtime Database
  • Authentication: Firebase Authentication
  • Hosting: Vercel Hosting

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/flight-booking-project.git
    cd flight-booking-project
  2. Install dependencies:

    npm install
  3. 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
  4. Start the development server:

    npm start
  5. Open the application in your browser at https://flight-booking-app-mzv7.vercel.app/.


Usage

  1. Sign Up or Log In: Create an account or log in to access the app's features.
  2. Search for Flights: Input your travel details to search for available flights.
  3. Book Flights: Select a flight, provide the required details, and confirm your booking.
  4. Manage Bookings: View and manage your flight reservations from the dashboard.

Folder Structure

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

Future Enhancements

  • 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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any features, bug fixes, or enhancements.


License

This project is licensed under the MIT License. See the LICENSE file for more details.


Contact

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!

About

FlightTicket Booking System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published