Plan your dream trip with AI-powered recommendations, secure authentication, and a modern user experience.
TripErly is an intelligent travel-planning application built with Next.js, offering AI-generated itineraries using Google Gemini, secure authentication with Firebase Auth + Firebase Admin, and persistent session handling using server-side cookies.
- Intelligent trip search based on user inputs (destination, duration, preferences)
- Daily itinerary recommendations powered by Google Gemini
- Smart suggestions for hotels, attractions, activities, and nearby experiences
- Save trip details to Firestore
- Upload and store trip images via Firebase Storage
- Access saved trips through a personalized Dashboard
- Gemini API used for:
- AI itinerary generation
- Attraction and activity suggestions
- Destination insights
- Context-aware planning
- Google Sign-In with Firebase Authentication
- Secure server-side session cookies using Firebase Admin SDK
- Protected routes using Next.js Middleware (e.g.,
/dashboard) - Clean logout flow (client sign-out + session cookie removal)
- Smooth toast notifications using Framer Motion
- Responsive design with Tailwind CSS
- Dynamic header showing user avatar when logged in
- Fast navigation and interactive feedback
Frontend
- Next.js 14 (App Router)
- React 18
- TypeScript
- Tailwind CSS
- Framer Motion
Backend / Server
- Next.js API Routes & Middleware
- Firebase Admin SDK (server-side auth)
- Google Gemini API (AI recommendations)
Authentication
- Firebase Authentication (Google Sign-In)
- Secure HttpOnly session cookies
Database & Storage
- Cloud Firestore
- Firebase Storage
git clone https://github.com/Deepak-connect/triperly.git
cd triperly