How keerthana-089/gstnexus works
GSTNexus is a browser-based GST reconciliation product: users sign in, then use the console to upload return data and review reconciliation, graph, vendor-risk, audit, and assistant features. The sampled code confirms authentication, session gating, and sidebar navigation; README feature descriptions supply the domain capabilities. Most feature-page implementations and backend wiring were not sampled, so those links are shown only as documented or unverified rather than as inferred calls.
Main entry points: AppSidebar.tsx Console Navigation · App.tsx React App · AppLayout.tsx Signed-in Layout · client.ts Supabase Client
Components 19
Application Shell
- React App
src/App.tsx - Signed-in Layout
src/components/AppLayout.tsx - Console Navigation
src/components/AppSidebar.tsx - Landing Page
src/pages/Index.tsx
GST Workflows
- Dashboard
src/pages/Dashboard.tsx - GST Data Upload
src/pages/Upload.tsx - Reconciliation
src/pages/Reconciliation.tsx - Graph Explorer
src/pages/Graph.tsx - Vendor Risk
src/pages/Vendors.tsx - Audit Trails
src/pages/Audit.tsx - Settings
src/pages/Settings.tsx
Identity and Data
- Login and Register
src/pages/Auth.tsx - Session Hook
src/lib/auth.ts - Supabase Client
src/integrations/supabase/client.ts - Supabase Postgres
AI Assistance
- GST Assistant
src/pages/Assistant.tsx - Chat Function
supabase/functions/gst-chat/index.ts - AI Gateway
Other components
- GST User
Connections 24
- GST User → React App: uses
- React App → Landing Page: presents
- React App → Signed-in Layout: routes
- GST User → Login and Register: signs in
src/pages/Auth.tsx - Login and Register → Supabase Client: authenticates
src/pages/Auth.tsx - Signed-in Layout → Session Hook: checks session
src/components/AppLayout.tsx - Session Hook → Supabase Client: reads auth state
src/lib/auth.ts - Signed-in Layout → Console Navigation: renders
src/components/AppLayout.tsx - Console Navigation → Dashboard: routes
src/components/AppSidebar.tsx - Console Navigation → GST Data Upload: routes
src/components/AppSidebar.tsx - Console Navigation → Reconciliation: routes
src/components/AppSidebar.tsx - Console Navigation → Graph Explorer: routes
src/components/AppSidebar.tsx - Console Navigation → Vendor Risk: routes
src/components/AppSidebar.tsx - Console Navigation → Audit Trails: routes
src/components/AppSidebar.tsx - Console Navigation → GST Assistant: routes
src/components/AppSidebar.tsx - Console Navigation → Settings: routes
src/components/AppSidebar.tsx - Supabase Client → Supabase Postgres: connects
- GST Assistant → Chat Function: sends prompts
- Chat Function → AI Gateway: requests answers
- GST Data Upload → Supabase Postgres: stores returns
- Reconciliation → Supabase Postgres: matches return data
- Graph Explorer → Supabase Postgres: visualizes trade data
- Vendor Risk → Supabase Postgres: assesses vendors
- Audit Trails → Supabase Postgres: records actions