Skip to content

Latest commit

 

History

374 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjiguiFlow

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Abonnements Stripe

Le projet inclut un flux d abonnement Stripe (checkout, confirmation, portail client, webhook) avec persistance dans Supabase.

Variables d environnement requises

  • NEXT_PUBLIC_APP_URL
  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • SUPABASE_SERVICE_ROLE_KEY
  • STRIPE_SECRET_KEY
  • STRIPE_WEBHOOK_SECRET
  • STRIPE_PRICE_STARTER
  • STRIPE_PRICE_PRO
  • STRIPE_PRICE_PREMIUM
  • SUPABASE_SUBSCRIPTIONS_TABLE (optionnel, defaut: subscriptions)

Table Supabase

Appliquer la migration SQL: supabase/migrations/20260803_create_subscriptions.sql.

Endpoint webhook Stripe

  • URL: /api/billing/webhook
  • Evenements a connecter dans Stripe:
    • checkout.session.completed
    • customer.subscription.created
    • customer.subscription.updated
    • customer.subscription.deleted

Verrou abonnement dashboard

Toutes les routes sous /dashboard/* demandent un abonnement actif (active ou trialing), sauf /dashboard/paiements.

About

SaaS d'automatisation pour commerçants

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages