Planify is an AI-based trip generation platform designed to simplify and enhance travel planning. Built with the MERN stack (MongoDB, Express, React, Node.js), Planify integrates advanced technologies like Firestore for real-time database management, Gemini API for personalized recommendations, and Google Places API for location-specific data and dynamic itineraries.
- AI-Powered Trip Generation: Personalized travel itineraries based on user preferences and budget.
- Real-time Data: Utilizes Firestore database for seamless data storage and updates.
- Trip Recommendations: Curated suggestions based on location, budget, and duration of stay.
- Location Details: Integration with Google Places API for detailed location-based information.
- User-friendly Interface: Clean, modern, and responsive UI for easy interaction.
- Authentication: Secure sign-in functionality with Google OAuth.
- Frontend: React.js, Tailwind CSS, Google OAuth
- Database: Firestore
- APIs:
- Gemini API (for AI-powered trip recommendations)
- Google Places API (for detailed location information)
- Node.js (>= 14.x)
- NPM or Yarn
-
Clone the Repository:
git clone https://github.com/your-username/mern_planify.git cd mern_planify
-
Install Backend Dependencies:
Navigate to the backend directory and install required packages:
cd backend npm install
-
Install Frontend Dependencies:
Navigate to the frontend directory and install required packages:
cd frontend npm install
-
Configure Firestore and API Keys:
- Set up Firebase Firestore in your Firebase Console.
- Get your Google Places API and Gemini API keys.
- Add these keys to your
.env
file in the root directory.
Example
.env
:FIREBASE_API_KEY=your-firebase-api-key GOOGLE_PLACES_API_KEY=your-google-places-api-key GEMINI_API_KEY=your-gemini-api-key
-
Run the Application:
For development mode, run both the frontend and backend concurrently:
# Start the backend server npm run dev
# In another terminal, start the frontend development server cd frontend npm start