Skip to content

This is a demo application based on the official Next.js dashboard example, extended with modern tooling , BeeterAuth authentication, stripe subscription and key features for a full-stack app.

Notifications You must be signed in to change notification settings

axelker/next-js-dashboard-better-auth-stripe

Repository files navigation

Next.js Demo Dashboard App

App Screenshot

This is a demo application based on the official Next.js dashboard example, extended with modern tooling and key features for a full-stack app.

Demo

Features

  • Next.js App Router (app directory)
  • Better Auth for user authentication
  • Prisma ORM for database management
  • PostgreSQL as the relational database
  • Full Sign Up / Login flow
  • OAuth login with GitHub and Google
  • Stripe integration for paid subscriptions
  • Responsive and accessible UI
  • Server Actions (useActionState) for form handling

Getting Started

Install dependencies

You can use either pnpm or npm:

pnpm i

Development server

pnpm dev

Configuration

Environment Variables

Create a .env file in the root with the following varibles in the ``.env.sample```

Prisma ORM

The Prisma schema is located in prisma/schema.prisma.

To generate the Prisma client:

pnpm run prisma:generate

About

This is a demo application based on the official Next.js dashboard example, extended with modern tooling , BeeterAuth authentication, stripe subscription and key features for a full-stack app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published