This is a web application that generates personalized travel itineraries based on user preferences, such as budget, interests, and trip duration. The application offers a user-friendly interface for inputting preferences and deliver detailed, dynamic itineraries tailored to individual users.
MIT License
This is a web application that generates personalized travel itineraries based on user preferences, such as budget, interests, and trip duration. The application offers a user-friendly interface for inputting preferences and deliver detailed, dynamic itineraries tailored to individual users.
This application provides a web interface for creating your prefered itinerary for their desired destination. It has a user friendly form to fill for preferences such as destination, duration, budget and travelers. And using this information we create a personalized itinerary for the user. Leveraged Gemini's API to generate personalized travel itinerary for the user.
Backend:
Frontend:
Models:
Here is the deployed website : Deployed Link Here is the deployed backend server: Backend Link
To install and run this project locally, add the following commands in your terminal, follow these steps:
git clone https://github.com/omkargade04/Personalized-Itinerary-Generator.git
cd Personalized-Itinerary-Generator
cd frontend
cd backend
Node.js
and npm
you're using is compatible with the dependencies you're installing. Some dependencies may require specific Node.js versions. npm install -g npm@latest
dependencies
for the frontend in frontend directory (assuming you have Node.js
and npm
installed): npm install
dependencies
for the backend in backend directory (assuming you have Node.js
and npm
installed): npm install
NEXT_PUBLIC_BASE_URL
=http://localhost:8000
(for local backend)
NEXT_PUBLIC_BASE_URL
=https://personalized-itinerary-generator.onrender.com
(for deployed backend)
NEXT_PUBLIC_GOOGLE_PLACE_API_KEY
=google-place-api-key
NEXT_PUBLIC_GEMINI_API_KEY
=gemini-api-key
PORT
=8000
MONGO_URL
=mongodb+srv://<username>:<password>@cluster0.dvriq5l.mongodb.net/<db_name>
SECRET_TOKEN
=your-token
REDIS_URL
=https://casual-pig-60980.upstash.io:6379
REDIS_TOKEN
=upstash-redis-token
NODE_ENV
=development
MAIL_USERNAME
=[email protected]
MAIL_PASSWORD
=your-password
GOOGLE_PLACE_API_KEY
=your-google-place-api-key
Start the frontend and backend servers:
backend: npm run dev
frontend: npm run dev
Open http://localhost:3000
to view the application.
To install Docker, run the following commands in your terminal:
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
docker-compose -f docker-compose.yaml build
.env
docker-compose -f docker-compose.yaml up
docker-compose -f docker-compose.yaml build
.env
docker-compose -f docker-compose.yaml up