A modern, responsive flight search engine built with Next.js, TypeScript, and React, featuring real-time flight data, dynamic currency conversion, airport information, and amenities display.
- Features
- Tech Stack
- Installation
- Environment Variables
- Usage
- API Integration
- Future Improvements
- AI Assistance
- License
- Flight Search by departure/arrival airports, dates, and passengers
- Flight Distance Counter
- Real-time Flight Data using Amadeus API
- Dynamic Currency Conversion (USD, CAD, EUR, GBP, INR, JPY)
- Airport Information: name, city, and coordinates
- Flight Amenities: WiFi, power outlets, TVs, legroom info
- Smooth animations with Framer Motion
- Responsive design for desktop
- REAL YouTube review videos on airlines
- Flight booking systems through KAYAK and Skyscanner
-
Frontend:
-
Styling:
-
API:
Amadeus Flight APIs, Amadeus Airport Lookup API, YouTube APIs, ExchangeRate APIs, etc.
-
Data: Custom datasets for aircraft & airports
-
Deployment:
git clone https://github.com/arghya-v/flyte.git cd flyte npm install npm run dev
Open http://localhost:3000 in your browser.
NEXT_PUBLIC_AMADEUS_CLIENT_ID=your_client_id NEXT_PUBLIC_AMADEUS_CLIENT_SECRET=your_client_secret NEXT_PUBLIC_EXCHANGE_API_KEY=your_key_here NEXT_PUBLIC_YOUTUBE_API_KEY=your_key_here
Use Amadeus sandbox credentials for testing and playing around; production credentials are required for real flight data.
- Select departure and arrival airports
- Choose travel dates and number of passengers
- Click Search Flights to retrieve available flights
- View flight amenities, aircraft info
- Switch currencies dynamically to view price conversions
- Flight Route Map
- Amadeus Flight Offers API: Fetch available flights
- Custom Airport Lookup: name, city, coordinates from JSON
- Aircraft Lookup: Map aircraft codes to readable names
- Exchange Rate API: Used for converting currency
- Youtube Data API (v3): Fetch Review videos based on search query
Note: API calls are rate-limited.
- Multi-city flight search
- Better caching of API data to reduce requests and rate-limits
- Better front-end UX/UI past the "Learn More" button
- Price alerts for users
- CO2 emissions
- Airplane Images
- Improved UI for mobile
This project leverages AI tools to help streamline development, including:
- Researching and identifying suitable flight-related APIs, such as Amadeus, for flight offers, seat maps, and amenities.
- Generating and debugging base code for components, utility functions, and pages.
- Optimizing project structure and suggesting best practices for TypeScript and Next.js integration.
- Providing guidance on UI/UX implementation, including smooth animations and responsive layouts.
AI assistance helped speed up simple and basic development while allowing me to focus on feature design, testing, customization, and advanced development.
This project is licensed under the MIT License.