How ahmed-badi/hackathon-student-hive works
Project type and purpose
• This is a full-stack, single-page web application built with Vite, TypeScript, and React.
• It uses shadcn-ui and Tailwind CSS for UI, and Supabase for backend services (authentication, database, and serverless functions).
• Its purpose is to present public pages (landing, FAQ, sponsors, schedule, register, feedback, etc.) and an admin portal for managing registrations, submissions, messages, teams, etc.
File structure
• Top-level files (package.json, tsconfig.json, vite.config.ts) configure the build/toolchain.
• public/ holds static assets (logos, robots.txt).
• src/ contains:
• pages/ – React page components mapped to routes (Index, About, Register, Admin, AdminAuth, etc.)
• components/ – reusable UI pieces subdivided by domain (admin, feedback, navbar, ui-library)
• integrations/supabase – Supabase client and type definitions
• lib – local utilities (state store, helpers)
• hooks – custom React hooks (mobile detection, toast, admin auth)
• main.tsx – React application entry point
• supabase/ holds Supabase config and Edge Functions (send-confirmation).
README for additional insights
• Confirms UI stack: Vite, TS, React, shadcn-ui, Tailwind.
• Mentions deployment via Lovable (automates hosting, domain management).
• Call out authentication flow separately (e.g., token exchange with GoTrue).
• Data flow for key user journeys: registration submission, admin dashboard data fetch, feedback form submission.
• Build/deploy pipeline: Vite → static assets → Lovable hosting → CDN.