Skip to content
devneeraj15Public

About

🎗️ Karma: Next.js mentorship booking platform with Stripe Connect NGO payouts & automated Zoom workflows

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Karma

Karma is a Next.js App Router scaffold for mentorship bookings where checkout fees are transferred to NGO Stripe connected accounts, then Zoom meetings are created after payment.

Folder Structure

app/
  actions/payments.ts
  api/webhooks/stripe/route.ts
  dashboard/mentee/page.tsx
  dashboard/mentor/page.tsx
components/
  dashboard/session-card.tsx
lib/
  demo-template.ts
  email.ts
  env.ts
  generated/prisma/
  prisma.ts
  stripe.ts
  supabase/server.ts
  zoom.ts
prisma/
  schema.prisma

Setup

  1. Copy .env.example to .env.
  2. Fill Supabase, Stripe, Zoom, and email credentials.
  3. Run npm install.
  4. Run npm run prisma:migrate.
  5. Start the app with npm run dev.

Stripe webhooks should point to:

https://your-domain.com/api/webhooks/stripe

The webhook listens for checkout.session.completed, marks the Karma session paid, creates the Zoom meeting, stores the Zoom URLs, and sends confirmation emails.

Local dashboards fall back to a one-mentor/one-mentee demo template until Supabase Auth is configured.

About

🎗️ Karma: Next.js mentorship booking platform with Stripe Connect NGO payouts & automated Zoom workflows

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages