Overview
- Vite + React + TypeScript + Tailwind + shadcn-ui.
- Structure and CSS are preserved. Only text content has been replaced with placeholders.
Getting Started
- Install Node.js 18+.
- Install dependencies:
npm i - Run dev server:
npm run dev
Deployment (Vercel)
- This repository includes
vercel.jsonfor API functions and CORS headers. - Connect the repo to Vercel and import. No changes required for a basic deploy.
- Add environment variables in Vercel dashboard as needed (see below).
Environment Variables (document only)
- SUPABASE_URL: Your Supabase URL.
- SUPABASE_ANON_KEY: Your Supabase anon key.
- ADMIN_TOKEN: Bearer token to read submissions via
api/applications.js. - RESEND_API_KEY: Resend API key to enable email sends via
api/send-email.js.
Integrations
- Supabase:
api/submit-application.jsinserts form submissions intoapplicationstable (seesupabase-setup.sql). - Resend:
api/send-email.jsscaffold is present and returns a helpful message until configured.
Customization Checklist
- Replace placeholder copy in components with your product messaging.
- Replace
public/hero-background.pngwith your OG/Twitter image (1200x630). - Update
index.htmlmeta tags (title, description, keywords, author, URLs). - See
IMAGE_GUIDE.mdfor a list of images and guidance.
Notes on Routes and Structure
- All routes, IDs, and structure remain unchanged to avoid breaking references.
- Add new API routes under
api/without renaming existing ones.