Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

EventTrip Planner

EventTrip Planner is a full-stack web application that helps users discover events and automatically build complete travel packages around them.

The app searches for:

  • Events (SeatGeek API)
  • Flights (Google Flights via SerpAPI)
  • Hotels (Google Hotels via SerpAPI)

It then combines the results into a trip package that includes:

  • Event information
  • Flight details
  • Hotel recommendations
  • Total trip cost
  • Budget tracking
  • Distance from hotel to venue

Features

Event Search

Search for:

  • Sports games
  • Concerts
  • Comedy shows
  • Any event available through SeatGeek

Flight Search

Finds flights between:

  • User origin city
  • Event destination city

Displays:

  • Airline
  • Flight number
  • Departure airport
  • Arrival airport
  • Flight cost

Hotel Search

Finds hotels near the event city.

Displays:

  • Hotel name
  • Rating
  • Cost per night
  • Distance to venue

Budget Tracking

Users can enter a budget and the app shows:

  • Total trip cost
  • Budget used percentage
  • Budget meter visualization

Distance to Venue

Calculates the distance between:

  • Selected hotel
  • Event venue

Tech Stack

Frontend

  • React
  • Vite
  • JavaScript
  • CSS

Backend

  • Python
  • Flask
  • Flask-CORS

APIs

  • SeatGeek API
  • SerpAPI Google Flights
  • SerpAPI Google Hotels

Project Structure

Event-Trip-Planner/
│
├── backend/
│   ├── services/
│   │   ├── seatgeek.py
│   │   ├── flights.py
│   │   ├── hotels.py
│   │   └── planner.py
│   │
│   ├── app.py
│   ├── requirements.txt
│   └── .env
│
├── frontend/
│   ├── src/
│   │   ├── pages/
│   │   ├── App.jsx
│   │   ├── main.jsx
│   │   └── styles.css
│   │
│   ├── package.json
│   └── vite.config.js
│
└── README.md

Setup

Clone Repository

git clone https://github.com/SakthiThan03/Event-Trip-Planner.git
cd Event-Trip-Planner

Backend Setup

Navigate to backend:

cd backend

Create virtual environment:

python -m venv venv

Activate environment:

Mac/Linux:

source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Create a .env file:

SEATGEEK_CLIENT_ID=YOUR_ID
SEATGEEK_CLIENT_SECRET=YOUR_SECRET
SERPAPI_KEY=YOUR_SERPAPI_KEY

Start backend:

python app.py

Backend runs on:

http://127.0.0.1:5000

Frontend Setup

Navigate to frontend:

cd frontend

Install dependencies:

npm install

Start development server:

npm run dev

Frontend runs on:

http://localhost:5173

Example Workflow

  1. Enter a starting city
  2. Enter keywords (Packers, NBA, Comedy, etc.)
  3. Select travel dates
  4. Enter budget
  5. Launch search
  6. Choose an event
  7. Build trip
  8. View:
    • Event details
    • Flight information
    • Hotel recommendation
    • Distance to venue
    • Total cost
    • Budget usage

Future Improvements

  • Real driving distance using OpenRouteService
  • Multiple hotel options
  • Multiple flight options
  • Interactive maps
  • Weather integration
  • Restaurant recommendations
  • Saved trips
  • User accounts
  • AI-powered trip ranking
  • Support for additional event providers

Author

Sakthi Thanigai

University of South Carolina

Computer Science & Engineering

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages