create-shadcn-dashboard

1.0.8 • Public • Published

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

Initial

To add a new page, run:

npx create-shadcn-dashboard my-app

Add Page

To add a new API route, run:

npx create-shadcn-dashboard add route 

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

Running your app

Photo gallery

Photo Gallery (Click to expand)
Description Image
Login screen (Dark mode) Login screen
Dashboard (Dark mode) Dashboard
Login screen (Light mode) LS Light
Dashboard (Light mode) DB Light

Notes

Notes (Click to expand)
  • 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.

Package Sidebar

Install

npm i create-shadcn-dashboard

Weekly Downloads

5

Version

1.0.8

License

The Unlicense

Unpacked Size

195 kB

Total Files

87

Last publish

Collaborators

  • sirtenzin