Shadcn table component with server side sorting, pagination, filtering, and custom views. This is built on top of @sadmann17's shadcn-table.
- Next.js
- TailwindCSS
- shadcn/ui
- tanstack/react-table
- Drizzle ORM
- Supabase
- Zod
-
Clone the repository
git clone https://github.com/nainglinnkhant/shadcn-view-table
-
Install dependencies using pnpm
pnpm install
-
Copy the
.env.example
to.env
and update the variables.cp .env.example .env
-
Push the database schema
pnpm db:push
-
Start the development server
pnpm dev
You can read more about setting up your own table here.