An AI-powered travel planning application that uses Vertex AI (Google Gemini) to generate personalized travel itineraries, provide digital guides, and discover hidden gems.
- Itinerary Generator: Create detailed day-by-day travel itineraries based on your destination, duration, interests, and preferences.
- Digital Guide: Get expert information on specific locations and topics, including historical context, cultural insights, and practical visitor information.
- Hidden Gems: Discover lesser-known attractions and experiences that match your preferences at your destination.
travel-app-backend/: Flask backend that communicates with Vertex AItravel-app-frontend/: React Native (Expo) mobile application
-
Navigate to the backend directory:
cd travel-app-backend -
Create a virtual environment:
python -m venv venv -
Activate the virtual environment:
- Windows:
venv\Scripts\activate - macOS/Linux:
source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile based on.env.example:cp .env.example .env -
Edit the
.envfile with your Vertex AI credentials. -
Start the backend server:
python app.py
-
Navigate to the frontend directory:
cd travel-app-frontend -
Install dependencies:
npm install -
Update the API base URL:
- Open
src/config/api.js - Change
API_BASE_URLto your computer's local IP address (for testing on physical devices) - For Android emulator, use
10.0.2.2instead oflocalhost
- Open
-
Start the Expo development server:
npm start -
Run on your device:
- Scan the QR code with the Expo Go app (iOS/Android)
- Press 'a' to run on Android emulator
- Press 'i' to run on iOS simulator
- Create a Google Cloud Platform account and enable Vertex AI API
- Generate an API key for Vertex AI or set up a service account
- Add credentials to the
.envfile