This is a dashboard starter template for the NextJS 14 based on Supabase.
- Next.js 14
- Tailwindcss
- Shadcn
- Supabase Auth + Supabase CLI
- Prisma
- Zustand
- React Query
- Jose
- Nodemailer
- Browserslist
- dayjs
- qs
- cookies-next
The folder and file structure is based on nextjs app router next.js project structure.
.
├── actions/ # Server Actions
├── app/ # App Router
│ └── api/
│ ├── auth/ # Authentication
│ └── v1/ # Public APIs
├── components/ # React components
├── config/ # Configuration for site
├── context/ # Context
├── docs/ # Documents
├── hooks/ # Hooks
├── lib/ # Application specific libraries & Utility functions
├── prisma/ # Prisma Schema Location and Configuration
├── public/ # Static assets to be served
│ └── [locales]/ # Internationalization
├── queries/ # APIs
├── schemas/ # Schema validations
├── screenshots/ # Screenshots
├── store/ # State
├── supabase/ # Supabase CLI
├── types/ # Type definitions
└── package.json
Clone the repository to the current directory.
git clone https://github.com/w3labkr/nextjs14-supabase-dashboard.git .
Install all modules listed as dependencies.
npm install
Copy of the .env.example
if the .env
doesn't exist.
cp .env.example .env
Create an SQL migration file and execute it.
npx prisma migrate dev --name init
Start the development server.
npm run dev
This software license under the MIT License.