- Open a terminal/command prompt
- Navigate to the backend folder:
cd backend - Make sure you have a
.envfile with your API keys:PORT=5000 GOOGLE_GEMINI_API_KEY=your_api_key_here GOOGLE_APPLICATION_CREDENTIALS=path/to/service-account-key.json
- Install dependencies (if not already done):
npm install
- Start the server:
You should see:
npm start
Backend running at http://localhost:5000
- Open a NEW terminal/command prompt (keep the backend running)
- Navigate to the frontend folder:
cd frontend - Install dependencies (if not already done):
npm install
- Start the React app:
The browser should automatically open to
npm start
http://localhost:3000
- Make sure both servers are running (backend on port 5000, frontend on port 3000)
- Check the browser console for errors (F12)
- Make sure you're accessing
http://localhost:3000
- Make sure the backend is running on port 5000
- Check that
GOOGLE_GEMINI_API_KEYis set in the backend.envfile - Check the browser console and backend terminal for error messages
- Port already in use: Stop any other applications using ports 3000 or 5000
- Module not found: Run
npm installin both frontend and backend folders - CORS errors: Make sure the backend is running and CORS is enabled (it should be)
- Homepage: Hero section, feature cards, photo swipe discovery
- Navigation: Links to Home, Plan Trip, Destinations, Safety
- Chatbot: Floating button (💬) in the bottom right corner
- All pages: Should load and display correctly