How tonystagon/reslocate-analytics works
Project type and purpose
• This is a full-stack, data-driven dashboard application (“EduAnalytics Dashboard”) built with React + TypeScript on the frontend and Supabase (Postgres + realtime APIs) on the backend. Its purpose is to provide administrators, students, and policy makers with analytics around student success, funding, and institutional insights.
File structure
• Top-level files:
• index.html, src/main.tsx, vite.config.ts → Vite-powered React entry point
• src/App.tsx → Root React component with routing/layout
• src/components → Reusable UI components (Layout, Navigation, KPICard, etc.)
• src/pages → Page-level components (Overview, Universities, Funding, etc.)
• src/hooks → Custom hooks encapsulating data fetching (useSupabaseQuery), business logic (useAdvancedMatching), and domain hooks (useProfile)
• src/lib/supabase.ts → Supabase client initialization
• src/utils → Pure functions for data consistency and profile matching
• supabase/migrations → Database schema migrations
• .env.example → Environment variables for Supabase credentials
• Build & deploy config:
• tailwind.config.js, postcss.config.js → Styling
• Vercel/Netlify readiness implied by static output (Vite)
• package.json scripts: dev, build, preview
README for additional insights
• Tech stack confirmed: React 18 + TS, Vite, Tailwind, Lucide React, Supabase, PostgreSQL, Vercel/Netlify.
• Key features map directly to pages under src/pages.