Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 664 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 664 Bytes

Supabase Production Template

Supabase Backend configured with stripe integration, posthog analytics, and postmark transactional emails.

Start local supabase server

supabase start

Start local supabase functions

supabase functions serve --env-file supabase/.env.local --import-map supabase/functions/deno.json

Set supabase secrets from .env file

supabase secrets set --env-file supabase/.env

Sync Stripe products and prices with Supabase

deno run  -A supabase/functions/_scripts/sync-stripe.ts

Deploy Functions

supabase functions deploy --import-map supabase/functions/deno.json