/travel-assistant /backend /app /api init.py events.py # Event-related routes and logic weather.py # Weather-related routes and logic nlp.py # NLP processing logic (spaCy) /models init.py event_model.py # Models for events and prioritization user_model.py # Models for user queries or preferences /utils init.py csv_handler.py # Functions to handle CSV for event prioritization api_client.py # Client functions for Eventbrite, OpenWeatherMap APIs init.py
main.py # FastAPI app and route declarations
/data # Data folder
events.csv # Admin pinned events data (prioritized)
weather_data.csv # Local data storage if needed for caching
requirements.txt
config.py # Configuration settings (API keys, etc.)
/frontend
/public # Static assets (images, etc.)
/src
/components
Chatbox.js # Chatbox UI component
Message.js # Message component for user and assistant
/services
apiService.js # Interactions with the FastAPI backend
App.js # Main React component
index.js # React entry point
package.json
webpack.config.js # Webpack configuration for React setup
/data # Data folder
events.csv # Admin pinned events data (prioritized)
weather_data.csv # Local data storage if needed for caching
README.md # Project documentation