Skip to content

FlapjackStaxx/mec-supabase-js-starter-admin

Repository files navigation

My Easy Chores — Supabase + Next.js (JavaScript)

This is a clean starter to migrate your existing Express/MySQL app to Supabase with Next.js (JS only) and Stripe billing.

Quick Start

  1. Clone & Install
    npm install
  2. Create env file
    cp .env.local.example .env.local
  3. Create a Supabase project, open SQL Editor, and run supabase/migrations/0001_init.sql.
  4. Run
    npm run dev

Stripe

  • Set STRIPE_PRICE_ID_MONTHLY (and YEARLY) from your Stripe dashboard.
  • Expose webhook locally with stripe listen --forward-to localhost:3000/api/stripe/webhook and set STRIPE_WEBHOOK_SECRET.

Folder Guide

  • app/ Next.js routes (server & client)
  • lib/ Supabase and Stripe helpers
  • supabase/migrations/ SQL schema

See docs/ for step-by-step migration notes from the old app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors