Skip to content
ObsidianPayPublic

About

Stripe dashboard

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Kron

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.

Requirements

Tested with Node.js v22.23.2 (npm 10.9.8).

Running

npm install
npm run dev

Then open http://localhost:3000.

Optional configuration (.env.local)

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.

Demo-mode internals

  • src/lib/auth.tsx, src/lib/auth-server.ts: stand-ins for @clerk/nextjs and @clerk/nextjs/server.
  • src/lib/stripe.ts: getStripe() returns the real Stripe client when STRIPE_KEY is set, otherwise an in-memory mock. Invoices created through the form are not persisted in mock mode.

Screenshots

Dashboard (/)

Dashboard

Create Invoice (/invoice/invoice-create)

Create Invoice

Check Invoices (/invoice/invoice-check)

Check Invoices

Disputes (/disputes)

Disputes

Sign in (/sign-in)

Sign in

Sign up (/ad24490b)

Sign up

Template pages

These pages come from the TailAdmin template and are not linked from the sidebar.

Calendar (/calendar)

Calendar

Profile (/profile)

Profile

Settings (/settings)

Settings

Tables (/tables)

Tables

Chart (/chart)

Chart

Form Elements (/forms/form-elements)

Form Elements

Form Layout (/forms/form-layout)

Form Layout

Alerts (/ui/alerts)

Alerts

Buttons (/ui/buttons)

Buttons

Template Sign In (/auth/signin)

Template Sign In

Template Sign Up (/auth/signup)

Template Sign Up

About

Stripe dashboard

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages