https://github.com/gooooooooney/nextjs-admin-shadcn
https://github.com/gooooooooney/nextjs-admin-shadcn
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gooooooooney/nextjs-admin-shadcn
- Owner: gooooooooney
- Created: 2024-03-29T07:22:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T14:23:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T16:27:21.276Z (almost 2 years ago)
- Language: TypeScript
- Homepage: https://admin.gooney.app
- Size: 880 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shadcnui - Github
README
# nextjs-admin-shadcn
[中文版本](./README.zh.md)
## Introduction
`nextjs-admin-shadcn` is a backend management system built with Next.js and Shadcn.
## Tech Stack
- **Next.js 14**: Framework for building server-rendered React applications.
- **Shadcn-UI**: UI components library.
- **Next-auth v5**: Authentication library for Next.js.
- **Drizzle**: ORM for database management.
- **Resend**: Service for sending emails.
- **Uploadthing**: Service for image uploads.
## Features
- **Sidebar**
- **System User Management**
- Three roles: `Super Admin`, `Admin`, `User`
- Users registered via the registration page are given `Admin` permissions by default and have access to all menus.
- `Admins` can invite users to register by adding their email and name via the "New User" button.
- `Admins` can assign menus to users.
- `Admins` can only see users they have invited or created.
- `Super Admins` have all permissions.
- User permissions are assigned by `Admin` or `Super Admin`.
- **System Menu Management**
- `Admins` can create menus (deletion not currently supported, but you can set delete permissions yourself).
- **Personal Information Management**
- Upload avatar
- Change email
- Set appearance
- **Error Pages**
- 404 Page
- 500 Page