Skip to content

MurugananthamB/frontend-flight-now

Repository files navigation

Flight Booking and Reservation System - Frontend ✈️

This is the frontend of the Flight Booking and Reservation System, built using React.js and styled with TailwindCSS. It provides a user-friendly interface for searching flights, booking reservations, and managing user accounts.


🔥 Features

  • Flight Search: Search flights by destination, dates, and number of passengers.
  • Price Comparison: Compare flight prices across airlines and booking classes.
  • Booking Interface: Select flights, choose seats, and proceed to checkout.
  • Responsive Design: Optimized for all devices using TailwindCSS.
  • User Management: Create and manage user profiles with saved preferences.

🛠️ Tech Stack

  • Framework: React.js with Vite for fast development and build times.
  • Styling: TailwindCSS for responsive and modern UI.
  • State Management: React Context API or Redux (if applicable).
  • API Integration: Fetch data from backend APIs and airline APIs.

🚀 Setup and Installation

Prerequisites:

  • Node.js and npm installed on your system.

Steps:

  1. Navigate to the frontend directory:
    cd frontend-flight
    
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
  4. Open your browser and visit:
    http://localhost:5173
    

📂 Directory Structure

frontend-flight/
│
├── src/
│   ├── components/      # Reusable UI components
│   ├── pages/           # Individual pages (Search, Booking, Profile, etc.)
│   ├── styles/          # TailwindCSS custom styles
│   ├── context/         # State management logic
│   └── utils/           # Helper functions
│
├── public/              # Static assets
├── vite.config.js       # Vite configuration
└── package.json         # Project dependencies and scripts.

🌟 Future Enhancements

Add animations for a better user experience. Implement a flight search history feature for users.

🤝 Contact

For any queries or feedback, reach out: GitHub: Muruganantham B (https://github.com/MurugananthamB)