How piyushpowariou/sunbustintegration works
File structure
• Top-level
• package.json, tsconfig.json, vite.config.ts, tailwind.config.js, drizzle.config.ts
• attached_assets: raw CSV exports (company.csv, project.csv, riskitemcases.csv, etc.)
• client/
• index.html, main.tsx – React entry point
• src/pages – route components (dashboard.tsx, not-found.tsx)
• src/components – presentation and chart components (sunburst-chart, filter-sidebar, selection-details)
• src/components/ui – reusable UI primitives (buttons, dialogs, tables, etc.)
• src/hooks – data-fetching and transform hooks (use-sunburst-data.ts, use-filters.ts)
• src/lib – queryClient setup, sunburst-transformer logic, shared utilities
• server/
• index.ts – server bootstrap (Vite + Node)
• routes.ts – REST endpoints for fetching chart data and metadata
• storage.ts – data access layer to the database (CRUD operations)
• vite.ts – server Vite config for development
• shared/
• schema.ts – Drizzle ORM definitions for tables matching attached_assets