The official website for JNTU Hexawatts Racing Team — India's first electric vehicle team from both the Telugu states.
<<<<<<< HEAD
The Next.js app lives in the hexa-revanth/ subdirectory. The repository root holds Vercel / project config only.
The repository root holds Vercel / project config only.
38363c7cebbf08db380e2e3a626a0d9c21eb0ab1
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- Database / Auth: Supabase
- Animations: Framer Motion
- 3D viewer: Three.js + @react-three/fiber + @react-three/drei
<<<<<<< HEAD
cd hexawatts
=======
cd hexa
>>>>>>> 38363c7cebbf08db380e2e3a626a0d9c21eb0ab1
npm install
npm run devThe dev server will start on http://localhost:3000.
Create a .env.local file inside hexa-revanth/ with the following keys (get them from your Supabase project dashboard):
NEXT_PUBLIC_SUPABASE_URL=https://YOUR-PROJECT.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR-ANON-KEYThese are required at build time because the Supabase client is initialised when the modules are first imported. Without them, data-fetching components will fail gracefully (returning null/empty arrays) but admin login will be unavailable.
- Push the repository to GitHub (already done at
origin/main). - Import the project into Vercel.
- In Project Settings → General → Root Directory, set the value to
hexa-revanth. - In Project Settings → Environment Variables, add the two
NEXT_PUBLIC_SUPABASE_*variables listed above for Production, Preview, and Development environments. - Deploy. Vercel will run
npm install && next buildfrom thehexa-revanth/directory.
The included vercel.json at the repo root mirrors these settings as a fallback, in case the Root Directory is not set explicitly.
The app expects the following tables to exist in your Supabase project:
hero_slides— homepage carousel slidescampaigns— crowdfunding campaigns (withgoal_amount_paise,total_raised_paise,is_active)donations— donation records (donor_email,campaign_id,status)contact_submissions— contact form submissionscaptains— team captain / vice-captaindomains— team domain rowsteam_leads— domain lead rowsmembers— domain member rowsmentors— mentor rowsmechanical_specs— mechanical car spec cardselectrical_specs— electrical car spec cardsprevious_sponsors— sponsor logos for past seasonspreliminary_sponsors— current-season sponsor logosroadmap_checkpoints— roadmap phasessite_settings— key/value site settings (e.g. active roadmap checkpoint)site_images— image assets bysection+keyadmin_allowed_emails— emails allowed to sign in to/admin
Storage buckets required: team-photos, hero-slides, site-images, sponsor-logos.