How suraj072/plango works
Project type and purpose
• This is a full‑stack, single‑page React application for AI‑powered trip planning.
• It uses Firebase as its backend (authentication, Firestore, storage) and Gemini AI as an external machine‑learning service to generate personalized itineraries.
• The user navigates through “Create Trip,” “My Trips,” and “View Trip” pages; each page calls the service layer to fetch or write data.
File structure
• Top‑level “src” folder contains:
• components (UI building blocks: “custom” and “ui” folders)
• create-trip, my-trips, view-trip (page‑level directories, each with its own index.jsx and subcomponents)
• service (AuthContext, GlobalApi, firebaseConfig, AiModel)
• lib (utility functions)
• assets and constants
• Configuration files: vite.config.js, tailwind.config.js, vercel.json (deployment), postcss.config.js, eslint.config.js.
• package.json / package-lock.json define dependencies (React, Tailwind, Firebase, Sonner dialog, etc).
README for additional insights
• Describes tech stack: React, Firebase, Gemini AI, TailwindCSS.
• Mentions environment variables for Firebase and Gemini API keys.
• Mentions static hosting (via Vercel).