How manivuppala124/trip-planner works
Project type and purpose
• This is a full‑stack web application.
• The frontend is a React single‑page app (SPA) bootstrapped with Vite, styled with Tailwind CSS, and organized into components, pages, context providers, and API wrappers.
• The backend is a Node.js/Express service exposing REST endpoints and persisting form data in a MongoDB database.
• Additional features include a map view (likely using a third‑party maps API), chat components, and pages for attractions, hotels, restaurants, and search.
File structure
• Top‑level “backend/” folder contains Express entry point (index.js) and models/FormData.js (a Mongoose model).
• “src/” holds the React code:
• api/index.js wraps REST calls to the backend and any external services (e.g., maps or listings APIs).
• components/ and pages/ implement UI modules (cards, loaders, map components, context providers).
• “public/” serves static assets (videos, HTML for specific routes).
• Config files: vite.config.js, tailwind.config.js, .env for environment variables.
README
• It’s a generic React+Vite template description, so the detailed architecture must be inferred from the file tree.