https://github.com/axelker/next-js-dashboard-better-auth-stripe
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.
https://github.com/axelker/next-js-dashboard-better-auth-stripe
betterauth neon nextjs postgresql prisma saas-boilerplate stripe vercel
Last synced: 6 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/axelker/next-js-dashboard-better-auth-stripe
- Owner: axelker
- Created: 2025-06-04T13:53:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-13T12:49:16.000Z (over 1 year ago)
- Last Synced: 2025-10-04T20:58:47.699Z (12 months ago)
- Topics: betterauth, neon, nextjs, postgresql, prisma, saas-boilerplate, stripe, vercel
- Language: TypeScript
- Homepage: https://next-js-dashboard-learn-pied.vercel.app
- Size: 1.41 MB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js Demo Dashboard App

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](https://next-js-dashboard-learn-pied.vercel.app/signup)
## 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`:
```bash
pnpm i
```
### Development server
```bash
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:
```bash
pnpm run prisma:generate
```