How yashksaini-coder/investo-glow works
Main Components
• User Interface: Represented by the frontend layers. This includes high-level pages (like Dashboard, About, Market, Profile, Authentication pages), layout components (Navbar, Footer, Layout), and modular UI elements (button, accordion, dialog, etc.).
• Context Providers and Hooks: These centralize state and behavior (e.g., AuthContext, WatchlistContext, custom hooks for theme and mobile responsiveness).
• Integration Layer: The folder “src/integrations/supabase” shows how the app connects to Supabase (which hosts the PostgreSQL database) — this is your external database/backend service.
• Data and Business Logic: Components in “src/lib” and “src/data” handle application logic and data management.
• Deployment and Configuration: Files like vercel.json, vite.config.ts, postcss.config.js, and environment configurations (.env.example) that set the application environment up.
Establish Architectural Relationships and User Flow
• UI & Pages: This includes components, layout, and page routing.
• Context Layer: Which provides global state (auth, watchlist, etc.) to all UI elements.
• Integration Services: A dedicated section for API calls/interfacing with Supabase.
• For strict user flow:
• From “User” to “Authentication & Profile Management”: Indicate login and registration flow (pages under src/pages/auth).
• Next, from Authentication to the “Dashboard/Stock/Market Pages” representing main investment insights. Indicate flows to portfolio and watchlist management which rely on data from Supabase.