We are group09-Smart Travel Planner doing an website called Voyage.ai which is a smart travel planning web app prototype. Users can enter trip details such as destination, dates, travelers, and budget. The React frontend sends the trip request to a Node.js/Express backend, and the backend returns a sample itinerary.
- Homepage with project introduction
- Create Trip form using React state
- Node.js REST API backend
- Sample itinerary generation
- Saved trips display
- Budget, weather, and map summary sections
- React
- Vite
- JavaScript
- Node.js
- Express
- CSS
Add your OpenAI API key to server/.env:
OPENAI_API_KEY=sk-your-key-here
Get a key at https://platform.openai.com/api-keys
Open two terminals.
cd server
npm install
node server.jsBackend runs at: http://localhost:5001
cd client
npm install
npm run devFrontend runs at: http://localhost:5173
- GET
/api/tripsreturns saved sample trips - POST
/api/tripscreates a new sample trip itinerary
The AI itinerary is simulated with sample data. This prototype focuses on React components, user input, REST API communication, and Node.js backend structure.