How thekartrix404/sihps2- works
BizOrbit is a multilingual, location-aware business advisory web app for entrepreneurs. The main flow is authentication into a protected workspace, where users can open a dashboard and distinct business tools for discovery, SWOT diagnostics, market analysis, financial planning, reports, franchise opportunities, and business connections. Shared location and language controls support the workspace; the sampled backend service exposes enterprise, feasibility, scheme, market-price, partner, messaging, and application data operations through Supabase. Feature-page internals were not sampled, so their backend wiring is not asserted.
Main entry points: App.jsx Route gateway · Header.jsx Workspace header · supabaseClient.js Supabase client · Auth.jsx Sign in / sign up
Components 26
Access and shell
- Route gateway
src/App.jsx - Sign in / sign up
src/pages/Auth.jsx - Route guards
src/components/Auth/ProtectedRoute.jsx - Public guard
src/components/Auth/PublicRoute.jsx - Workspace shell
src/components/Layout/AppLayout.jsx - Workspace header
src/components/Layout/Header.jsx
Business advisory
- Dashboard
src/pages/Dashboard.jsx - Business discovery
src/pages/ExploreBusiness.jsx - SWOT diagnostics
src/pages/SwotAnalysis.jsx - Market analysis
src/pages/MarketAnalysis.jsx - Financial planner
src/pages/FinancialPlanner.jsx - Reports dossier
src/pages/ReportsDossier.jsx
Enterprise opportunities
- Franchise hub
src/pages/FranchiseHub.jsx - Business connections
src/pages/BusinessConnections.jsx - Profile settings
src/pages/ProfileSettings.jsx
Shared services
- Session state
src/context/AuthContext.jsx - Language state
src/context/LanguageContext.jsx - Location state
src/context/LocationContext.jsx - Language controls
src/components/Common/LanguageModal.jsx - Location controls
src/components/Common/LocationModal.jsx - Advisory data service
src/services/bizOrbitService.js - Supabase client
src/services/supabaseClient.js - Translation service
src/services/bhashiniService.js
Other components
- Entrepreneur
- Supabase
- Bhashini API
Connections 26
- Entrepreneur → Route gateway: opens
- Route gateway → Public guard: routes public
- Public guard → Sign in / sign up: allows access
- Route gateway → Route guards: guards workspace
- Route guards → Workspace shell: allows access
- Workspace shell → Workspace header: renders
- Route gateway → Dashboard: routes
- Route gateway → Business discovery: routes
- Route gateway → SWOT diagnostics: routes
- Route gateway → Market analysis: routes
- Route gateway → Financial planner: routes
- Route gateway → Reports dossier: routes
- Route gateway → Franchise hub: routes
- Route gateway → Business connections: routes
- Route gateway → Profile settings: routes
- Sign in / sign up → Session state: updates session
- Sign in / sign up → Supabase client: authenticates with
- Session state → Supabase client: checks session
- Workspace header → Language state: reads language
- Workspace header → Location state: reads location
- Workspace header → Language controls: opens
- Workspace header → Location controls: opens
- Language controls → Language state: updates settings
- Advisory data service → Supabase client: queries and writes
- Supabase client → Supabase: connects
- Translation service → Bhashini API: translates via