A Next.js 14 dashboard (built on the TailAdmin template) for managing Stripe invoices and disputes.
This branch runs in demo mode: Clerk authentication has been replaced by a
local shim that always signs you in as "Demo User", and Stripe calls return
built-in sample data unless a STRIPE_KEY is provided.
Tested with Node.js v22.23.2 (npm 10.9.8).
npm install
npm run devThen open http://localhost:3000.
| Variable | Purpose |
|---|---|
STRIPE_KEY |
Stripe secret key. When empty, sample data is used. |
DEMO_STRIPE_ACCOUNT_ID |
Stripe connected account id used for the demo user's requests. |
src/lib/auth.tsx,src/lib/auth-server.ts: stand-ins for@clerk/nextjsand@clerk/nextjs/server.src/lib/stripe.ts:getStripe()returns the real Stripe client whenSTRIPE_KEYis set, otherwise an in-memory mock. Invoices created through the form are not persisted in mock mode.
These pages come from the TailAdmin template and are not linked from the sidebar.
















