ClimaTrip is a modern AI-powered travel planning and coastal safety platform that combines intelligent itinerary generation, beach safety monitoring, interactive maps, and conversational AI assistance into a single travel ecosystem.
Built using React, Vite, Tailwind CSS, Node.js, Express.js, MongoDB, JWT Authentication, and Groq AI.
- User Registration
- User Login
- JWT-Based Authentication
- Persistent Login Sessions
- Logout Functionality
- Protected Features & Routes
- Server-Side Input Validation
- Email Format Validation
- Strong Password Validation
- Password Hashing using bcrypt
- Duplicate User Prevention
- Secure Environment Variables
TripGenie is a built-in AI travel companion available throughout the platform.
- Travel Recommendations
- Destination Suggestions
- Budget Planning
- Trip Optimization
- Travel Tips & Guidance
- Destination Comparisons
- General Travel Queries
- Floating AI Chat Widget
- Available Across the Entire Application
- Login Required for Access
- Real-Time AI Responses
- Powered by Groq LLM APIs
- Context-Aware Travel Assistance
Generate intelligent travel itineraries by providing:
- Source Location
- Destination
- Start Date
- End Date
- Transportation Recommendations
- Day-Wise Itinerary
- Tourist Attractions
- Nature Spots
- Local Transportation Suggestions
- Budget Breakdown
- Return Journey Planning
- Travel Tips
Analyze coastal and beach conditions before planning activities.
- Wave Height
- Wind Speed
- Water Temperature
- Weather Conditions
- Safety Analysis Score
- Swimming
- Surfing
- Boating
- Fishing
- Safe
- Caution
- Unsafe
Built using React Leaflet and OpenStreetMap.
- Destination Search
- Dynamic Marker Placement
- Auto Fly-To Location
- Interactive Beach Analysis
- Location-Based Insights
- Real-Time Visualization
Authenticated users receive a personalized travel workspace.
Generate AI-powered itineraries.
Analyze destination safety conditions.
Explore curated travel destinations.
Save preferred destinations.
Expandable booking management module.
Manage account information and preferences.
- Profile Information
- Personalized Dashboard
- Travel Statistics
- Account Preferences
- Notification Settings
- Safety Alert Preferences
- Fully Responsive Design
- Smooth Animations
- Interactive Components
- Mobile-First Experience
- Shimmer Loading States
- Modern Glassmorphism Elements
- Gradient-Based Design System
- React.js
- Vite
- Tailwind CSS
- CSS Grid
- Flexbox
- React Hooks
- Axios
- React Leaflet
- Leaflet.js
- OpenStreetMap
- React Hot Toast
- Lucide React
- React Icons
- Groq API (Backend Connected)
src/
β
βββ components/
β β
β βββ chatbot/
β β βββ TripGenie.jsx
β β
β βββ Header.jsx
β βββ Footer.jsx
β βββ Hero.jsx
β βββ AuthPage.jsx
β βββ Dashboard.jsx
β βββ TravelPlan.jsx
β βββ BeachSafetyDashboard.jsx
β βββ BeachSafetyMap.jsx
β βββ BeachAlerts.jsx
β βββ BeachSafetyAnalyzer.jsx
β βββ DestinationCarousel.jsx
β βββ AccommodationCards.jsx
β βββ WeatherInsights.jsx
β βββ ShimmerUI.jsx
β
βββ App.jsx
βββ main.jsx
β
βββ assets/Clone Repository
git clone <repository-url>Move into project directory
cd ClimaTrip-FrontendInstall Dependencies
npm installRun Development Server
npm run devBuild Production Version
npm run buildPreview Production Build
npm run previewCreate a .env file in the project root.
VITE_API_BASE_URL=http://localhost:3001 - User lands on the Home Page.
- User registers or logs in.
- Authentication state is stored locally.
- User gains access to TripGenie AI Assistant.
- User generates personalized travel plans.
- Backend generates AI-powered itineraries.
- Dashboard visualizes generated plans.
- User searches destinations for safety insights.
- Interactive maps visualize searched locations.
- Safety recommendations are displayed for activities.
- Authentication Controls
- Navigation Controls
- Travel Discovery Interface
- Personalized Travel Workspace
- AI Travel Assistant
- AI Itinerary Generator
- Coastal Safety Intelligence
- Destination Search & Visualization
- User Information & Preferences
- Protected Features
- JWT Authentication Support
- Login State Persistence
- Input Validation
- Secure Environment Variable Usage
- Password Hashing
- Strong Password Validation
- Email Validation
- Duplicate User Prevention
- JWT Authentication
- Trip History Storage
- Saved Itineraries
- Hotel Recommendations
- Real-Time Weather Forecasts
- Real-Time Beach Alerts
- Travel Buddy Matching
- Group Trip Planning
- Travel Community Features
- Payment Gateway Integration
- Dark Mode
- Multi-Language Support
- AI Voice Assistant
- Profile Picture Uploads
-
Fork Repository
-
Create Feature Branch
git checkout -b feature-name- Commit Changes
git commit -m "Added feature"- Push Changes
git push origin feature-name- Create Pull Request
This project is intended for educational, portfolio, and research purposes.
AI-Powered Travel Planning & Beach Safety Platform
- React.js
- Vite
- Tailwind CSS
- Axios
- React Leaflet
- JWT Authentication
- Groq AI
- Modern Responsive UI Design
- AI Travel Planning
- Beach Safety Intelligence
- Conversational Travel Assistant (TripGenie)
- Interactive Maps
- Personalized User Dashboard
- Secure Authentication System