Skip to content

Spec077/greeta

Repository files navigation

Greeta Landing + Waitlist API

Stack

  • React (Vite)
  • Vercel Functions (/api/waitlist, /api/waitlist-count)
  • Supabase (waitlist storage)
  • Resend (confirmation email)

Required env vars

  • SUPABASE_URL
  • SUPABASE_ANON_KEY or SUPABASE_SERVICE_ROLE_KEY
  • SUPABASE_WAITLIST_TABLE (optional, defaults to waitlist)
  • RESEND_API_KEY (optional, enables confirmation emails)
  • RESEND_FROM (optional, defaults to Greeta <onboarding@resend.dev>)
  • TURNSTILE_SECRET_KEY (optional, enables Cloudflare Turnstile verification)
  • VITE_TURNSTILE_SITE_KEY (optional, renders Turnstile widget in frontend)

Local development

  • Frontend only: npm run dev
  • API server (Vercel Functions on port 3000): npm run dev:api
  • Frontend + Vercel in one server: npm run dev:vercel

If you run npm run dev on http://localhost:5173, it now proxies /api/* to http://localhost:3000. So run these in two terminals:

  1. npm run dev:api
  2. npm run dev

About

AI-POWERED BUSINESS CONCIERGE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors