An open API service indexing awesome lists of open source software.

https://github.com/eusha425/flightwise

AI-powered airline analytics platform for exploring real flight routes, analyzing global networks, and predicting flight prices using generative AI.
https://github.com/eusha425/flightwise

airline flight generative-ai graph-analysis nextjs price-prediction travel

Last synced: 3 months ago
JSON representation

AI-powered airline analytics platform for exploring real flight routes, analyzing global networks, and predicting flight prices using generative AI.

Awesome Lists containing this project

README

          

# ✈️ FlightWise
### AI-Powered Airline Intelligence Platform

[![Built with Firebase Studio](https://img.shields.io/badge/Built%20with-Firebase%20Studio-orange?style=flat-square&logo=firebase)](https://firebase.google.com)
[![Vibe Coding](https://img.shields.io/badge/Development-Vibe%20Coding-blue?style=flat-square)](https://firebase.google.com)
[![Next.js](https://img.shields.io/badge/Next.js-14-black?style=flat-square&logo=next.js)](https://nextjs.org)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue?style=flat-square&logo=typescript)](https://typescriptlang.org)

---

## 📖 Overview

FlightWise is a comprehensive web application that provides intelligent insights into air travel data. The platform offers tools for analyzing flight routes, comparing airlines, tracking price histories, and determining optimal booking times.

> *This project was built using **Vibe Coding** with **Firebase Studio***

*This project was developed primarily using AI-assisted development tools. While the core architecture and much of the code were generated by AI, I guided the process by crafting prompts, reviewing outputs, making edits, and integrating the components to create a working, deployable platform. This project is an experiment in exploring how AI can accelerate and assist the software development process.*

---

## ✨ Features

### 📊 **Dynamic Dashboard**
Real-time overview displaying key performance indicators including total routes analyzed, price predictions made, and airport connectivity statistics. Metrics are updated dynamically to provide current analytics insights.

### 🎯 **Best Time to Book Recommender**
Analyze historical trends and seasonality patterns to recommend optimal ticket purchase timing for specific flight routes and departure dates.

### 🗺️ **Interactive Route Explorer**
Discover direct flight destinations from any airport worldwide. Enter an IATA airport code to visualize available routes on an interactive global map.

### ⚖️ **Airline Comparison Tool**
Compare airlines on specific routes with detailed breakdowns including:
- ⭐ Customer ratings
- 🛋️ In-flight amenities
- ⏱️ Flight duration
- 💰 Price estimates

### 📈 **Price History Visualization**
Track price fluctuations for flight routes over the past 90 days through interactive charts, providing insights into pricing trends and seasonal patterns.

---

## 🛠️ Technology Stack

| Category | Technology |
|----------|------------|
| **Framework** | [Next.js](https://nextjs.org/) with App Router |
| **Language** | [TypeScript](https://www.typescriptlang.org/) |
| **UI Library** | [React](https://react.dev/) |
| **Components** | [ShadCN UI](https://ui.shadcn.com/) |
| **Styling** | [Tailwind CSS](https://tailwindcss.com/) |
| **AI Integration** | [Google Gemini](https://deepmind.google.com/technologies/gemini/) via [Genkit](https://firebase.google.com/docs/genkit) |
| **Mapping** | [MapLibre GL JS](https://maplibre.org/) & [React Map GL](https://visgl.github.io/react-map-gl/) |
| **Charts** | [Recharts](https://recharts.org/) |
| **Deployment** | Firebase App Hosting |

---

## 🚀 Getting Started

### 📋 Prerequisites

Before you begin, ensure you have the following installed:

- 📦 [Node.js](https://nodejs.org/) (version 20 or later)
- 🔧 npm or your preferred package manager
- 🔑 Google AI API key from [Google AI Studio](https://aistudio.google.com/app/apikey)

### ⚡ Quick Setup

#### 1️⃣ **Clone the Repository**
```bash
git clone https://github.com/Eusha425/Flightwise.git
cd flightwise
```

#### 2️⃣ **Configure Environment**
Create a `.env` file in the project root:
```env
GOOGLE_API_KEY="YOUR_API_KEY_HERE"
```

#### 3️⃣ **Install Dependencies**
```bash
npm install
```

#### 4️⃣ **Launch Application**
```bash
npm run dev
```

#### 5️⃣ **Access FlightWise**
Open your browser and navigate to:
```
http://localhost:9002
```

---

## 🎮 Usage

Once FlightWise is running, you can explore these capabilities:

| Feature | Description |
|---------|-------------|
| 📊 **Dashboard** | View comprehensive analytics overview |
| 🗺️ **Route Explorer** | Discover flight connections worldwide |
| ⚖️ **Airline Comparison** | Compare carriers for specific routes |
| 📈 **Price Analysis** | Track trends and booking recommendations |
| 🌍 **Interactive Maps** | Explore global flight networks |