Skip to content

๐ŸŒ TravelBuddy โ€” Your AI-Powered Travel Companion โœˆ๏ธ > _Plan smarter. Explore deeper. Capture memories._ TravelBuddy is an AI-powered web app that helps travelers create personalized itineraries, visualize destinations, upload trip memories, and communicate in real time โ€” all in one seamless platform.

Notifications You must be signed in to change notification settings

anand-144/TravelBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

48 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ TravelBuddy โ€” Your AI-Powered Travel Companion โœˆ๏ธ

๐Ÿ”—Live Link

https://travel-buddy-mu-eight.vercel.app/

Plan smarter. Explore deeper. Capture memories.
TravelBuddy is an AI-powered web app that helps travelers create personalized itineraries, visualize destinations, upload trip memories, and communicate in real time โ€” all in one seamless platform.


โœจ Overview

TravelBuddy combines the intelligence of Gemini AI, the interactivity of Leaflet maps, and the power of real-time communication to simplify trip planning.
Itโ€™s not just an itinerary generator โ€” itโ€™s a full travel experience.

Whether you're exploring cities, planning adventures, or capturing moments, TravelBuddy makes it effortless to:

  • โœˆ๏ธ Plan your trip with AI-generated itineraries
  • ๐Ÿ—บ๏ธ Explore destinations through interactive maps
  • โ˜๏ธ Upload and relive travel memories
  • ๐Ÿ’ฌ Stay connected with real-time updates and chat

๐Ÿš€ Features

Feature Description
๐Ÿค– AI Trip Planner (Gemini) Generates custom day-by-day itineraries, must-visit spots, and estimated budgets.
๐Ÿ” Google OAuth One-click login and registration using Google accounts.
โ˜๏ธ Cloudinary Uploads Upload and manage photos or trip memories securely in the cloud.
๐Ÿ–ผ๏ธ Unsplash API Integration Fetches beautiful destination images dynamically.
๐Ÿ—บ๏ธ Interactive Maps (Leaflet) View landmarks and routes with smooth map interactions.
๐Ÿ’ฌ Real-Time Communication (Socket.io) Enables instant messaging and travel updates.
๐Ÿงญ Modern UI Built with React + Tailwind CSS for a smooth, mobile-responsive experience.

๐Ÿง  Tech Stack

Layer Technologies
Frontend React, Tailwind CSS, Axios, Leaflet
Backend Node.js, Express.js
Database MongoDB + Mongoose
AI Engine Google Gemini API
Authentication Google OAuth 2.0
Real-Time Socket.io
Cloud Storage Cloudinary
Image Source Unsplash API
Deployment Vercel (Frontend) โ€ข Render/Railway (Backend)

๐Ÿ—‚๏ธ Project Structure

TravelBuddy/ โ”œโ”€โ”€ backend/ โ”‚ โ”œโ”€โ”€ controllers/ โ”‚ โ”œโ”€โ”€ models/ โ”‚ โ”œโ”€โ”€ routes/ โ”‚ โ”œโ”€โ”€ utils/ โ”‚ โ”œโ”€โ”€ middlewares/ โ”‚ โ”œโ”€โ”€ socket/ โ”‚ โ”œโ”€โ”€ server.js โ”‚ โ””โ”€โ”€ .env โ”‚ โ”œโ”€โ”€ frontend/ โ”‚ โ”œโ”€โ”€ src/ โ”‚ โ”‚ โ”œโ”€โ”€ components/ โ”‚ โ”‚ โ”œโ”€โ”€ pages/ โ”‚ โ”‚ โ”œโ”€โ”€ hooks/ โ”‚ โ”‚ โ”œโ”€โ”€ services/ โ”‚ โ”‚ โ”œโ”€โ”€ utils/ โ”‚ โ”‚ โ””โ”€โ”€ App.jsx โ”‚ โ”œโ”€โ”€ public/ โ”‚ โ””โ”€โ”€ package.json โ”‚ โ””โ”€โ”€ README.md


โš™๏ธ Installation & Setup

1๏ธโƒฃ Clone the Repository

git clone https://github.com/anand-144/TravelBuddy.git
cd TravelBuddy
cd backend
npm install

Create a .env file in /backend

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GEMINI_API_KEY=your_gemini_api_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_key
CLOUDINARY_API_SECRET=your_cloudinary_secret
UNSPLASH_ACCESS_KEY=your_unsplash_access_key

Start the backend:

npm run dev

3๏ธโƒฃ Setup the Frontend

cd ../frontend
npm install
npm start

๐Ÿงญ How It Works

  1. Login using Google OAuth.
  2. Enter trip details like destination, duration, and interests.
  3. Gemini AI creates a detailed itinerary for you.
  4. View locations interactively on the Leaflet map.
  5. Upload memories (images/videos) to Cloudinary.
  6. Enjoy live updates and chat through Socket.io.
Method Endpoint Description
POST /api/auth/google Login/Register via Google OAuth
POST /api/ai/plan Generate AI-based travel plan
POST /api/memories/upload Upload media to Cloudinary
GET /api/trips Retrieve saved trips
WS /socket.io Real-time event communication

๐ŸŒ Preview Screenschot

๐Ÿ”ฎ Future Enhancements ๐Ÿงณ Multi-destination route planning ๐ŸŒฆ๏ธ Weather-based itinerary suggestions ๐Ÿง  Smart packing checklist generator ๐Ÿ“ Travel community section for sharing trips ๐Ÿ”” Notifications for price drops and updates

๐Ÿค Contributing

Contributions are welcome! If youโ€™d like to improve TravelBuddy: Fork this repo Create a feature branch (feature/your-feature) Commit and push your changes Submit a pull request ๐Ÿš€

๐Ÿ“œ License

Licensed under the MIT License โ€” see the LICENSE file for detail

๐Ÿ‘จโ€๐Ÿ’ป Author

Anand Singh

โญ If you like this project, give it a star on GitHub โ€” it helps support further development!

About

๐ŸŒ TravelBuddy โ€” Your AI-Powered Travel Companion โœˆ๏ธ > _Plan smarter. Explore deeper. Capture memories._ TravelBuddy is an AI-powered web app that helps travelers create personalized itineraries, visualize destinations, upload trip memories, and communicate in real time โ€” all in one seamless platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages