1.0.8 • Published 5 months ago

create-shadcn-dashboard v1.0.8

Weekly downloads
-
License
The Unlicense
Repository
github
Last release
5 months ago

Create Shadcn Dashboard

A CLI tool to quickly set up a Next.js dashboard with Shadcn UI components and authentication.

Features

Getting Started

To create a new dashboard project, run:

npx create-shadcn-dashboard my-app

To add a new page, run:

npx create-shadcn-dashboard my-app

To add a new API route, run:

npx create-shadcn-dashboard add route 

This also supports advanced route names such as "npx create-shadcn-dashboard add route users/id/info" or other Nextjs route patterns.

Running your app

cd my-app
npm run dev

Photo gallery

DescriptionImage
Login screen (Dark mode)Login screen
Dashboard (Dark mode)Dashboard
Login screen (Light mode)LS Light
Dashboard (Light mode)DB Light

Notes

  • When starting your dashboard, you may find that the auth system lets you login with any set of emails or passwords, and that is because by default the auth.config.ts file doesnt check for anything.
  • You can add your own providers to the auth.config.ts file and that will be used to check for valid logins.