Production-ready admin dashboard powered by Next.js, Shadcn/UI and Better-Auth. Includes authentication flows, interactive charts, data tables, and a distinctive gradient-accented design system.
git clone https://github.com/Its-Nyein/shadcn-admin.git
cd shadcn-adminpnpm installcp .env.example .envThen update .env with your values.
pnpm db:generate
pnpm db:migratepnpm db:seedpnpm devOpen http://localhost:3000 in your browser.
After seeding the database, you can sign in with:
- Email: admin@example.com
- Password: Admin123!@#
| Command | Description |
|---|---|
pnpm db:push |
Push schema to database |
pnpm db:studio |
Open Drizzle Studio |
pnpm db:generate |
Generate migrations |
pnpm db:migrate |
Run migrations |
pnpm db:seed |
Seed test user |
pnpm db:seed -- --force |
Recreate test user |