ML-Model link: https://www.kaggle.com/code/saiswaroop8656/team-byteforge
The app can be visited at https://nutanixps.vercel.app/
A full-stack application for predicting flight prices using machine learning models and visualizing price trends through interactive graphs.
This project consists of two main components:
- A modern React frontend for user interaction and data visualization
- A Python FastAPI backend powered by machine learning for price predictions
- Modern, responsive UI built with React and TailwindCSS
- Interactive flight search form
- Real-time price predictions
- Dynamic graph visualizations using Chart.js
- Smooth animations and transitions
- Mobile-friendly design
- FastAPI-based REST API
- Machine learning models for price prediction
- Data processing and analysis
- CSV data integration
- Efficient API endpoints
- React 19
- Vite
- TailwindCSS
- Chart.js
- React Router DOM
- Axios
- ESLint
- Python
- FastAPI
- Scikit-learn
- XGBoost
- Pandas
- NumPy
- Uvicorn
- Node.js (v14.0.0 or higher)
- npm (v6.0.0 or higher)
- Python 3.8 or higher
- pip (Python package manager)
- Clone the repository:
git clone <repository-url>
cd flight-price-prediction- Frontend Setup:
cd nutanix-frontend
npm install- Backend Setup:
cd nutanix-backend
pip install -r requirements.txt- Start the Backend Server:
cd nutanix-backend
uvicorn server:app --reload- Start the Frontend Development Server:
cd nutanix-frontend
npm run devThe frontend will be available at http://localhost:5173 and the backend API at http://localhost:8000.
flight-price-prediction/
├── nutanix-frontend/
│ ├── src/
│ ├── public/
│ ├── package.json
│ └── vite.config.js
├── nutanix-backend/
│ ├── app/
│ ├── flights.csv
│ ├── available.csv
│ ├── requirements.txt
│ └── run_servers.py
└── README.md
The backend provides several endpoints for:
- Flight price predictions
- Historical price data
- Available flight routes
- Price trend analysis
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.