How shibinsp/geo-visualizer-upload works
Project type and purpose
• This is a single-page web application (SPA) built with React and TypeScript, bootstrapped by Vite.
• It provides a GIS-focused user interface for uploading files, viewing maps, and summarizing spatial data, while relying on Supabase as its backend (authentication, database, storage).
File structure
• Top-level directories and key files:
• public/ – static assets (robots.txt, favicon, index.html)
• src/ – all React source code
– components/ – feature components (GISApplication, MapView, FileUploader, DataSummary)
– components/ui/ – shadcn-ui building blocks (buttons, dialogs, navigation, etc.)
– hooks/ – custom React hooks (useMobile, useToast)
– integrations/supabase/ – Supabase client initialization and types
– lib/ – utility functions
– pages/ – top-level routes (Index, NotFound)
– main.tsx – SPA bootstrap
• supabase/ – supabase CLI config.toml (for migrations, local dev)
• vite.config.ts, tsconfig*.json, tailwind.config.ts – build and styling configs
README for insights
• Tech stack: Vite, TypeScript, React, shadcn-ui, Tailwind CSS
• Deployment flows via Lovable (automates commits, preview, publish)
• Supabase is the only backend—no custom server code
Elements
• Clear, descriptive labels for each component or service
• Circles for UI components
• Rectangles for services/APIs