Skip to content

Its-Nyein/shadcn-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shadcn Admin

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.

Image

Getting Started

1. Clone the repository

git clone https://github.com/Its-Nyein/shadcn-admin.git
cd shadcn-admin

2. Install dependencies

pnpm install

3. Set up environment variables

cp .env.example .env

Then update .env with your values.

4. Set up database

pnpm db:generate
pnpm db:migrate

5. Seed the database

pnpm db:seed

6. Run the development server

pnpm dev

Open http://localhost:3000 in your browser.

Test Credentials

After seeding the database, you can sign in with:

Docker Setup

1. Set up environment variables

cp .env.example .env

Then update .env with your values.

2. Build and run with Docker Compose

docker compose up --build

This will build the production image and start the app at http://localhost:3000.

3. Or build and run manually

docker build -t shadcn-admin .
docker run -p 3000:3000 --env-file .env shadcn-admin

Stop the container

docker compose down

Database Commands

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

About

Production ready admin dashboard powered by Next.js and Shadcn/UI. Includes authentication flows, interactive charts, data tables, and a distinctive gradient-accented design system.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages