K2 Digital Media logoDigital Media

Based in London, Ontario

kkvasan@k2digitalmedia.ca

web-design-template

Admin Dashboard / CRM Template

A powerful internal CRM and admin dashboard built with Next.js 14, TanStack Table v8, Supabase Realtime, and dnd-kit — featuring drag-and-drop Kanban pipelines, role-based access control, live updates, and CSV reporting.

Admin Dashboard / CRM Template

📌 Project Overview

The Admin Dashboard / CRM template is a powerful internal tooling platform built for teams that need to manage contacts, track deals, visualize performance data, and control user access — all from a single, cohesive interface. With TanStack Table v8, drag-and-drop Kanban pipelines, Supabase Realtime live updates, and role-based access control, this template delivers enterprise-grade data management without enterprise-grade complexity.

Ideal for sales teams, operations managers, and agencies managing client relationships, this platform is designed to be adapted into any internal tool — from a CRM to a project tracker to a content operations dashboard.

🧩 Core Features

1. TanStack Table v8 Data Grids
The Contacts page is built with TanStack Table v8, providing sortable columns, per-column filters, cursor-based pagination, multi-row selection, and bulk delete — all without a third-party data grid library.

2. Drag-and-Drop Kanban Pipeline
The Deals page features a full Kanban pipeline with draggable deal cards between stages, powered by dnd-kit. Stage changes are persisted to Supabase in real time.

3. Supabase Realtime Dashboard
The main Dashboard subscribes to Supabase Realtime channels so live deal updates — new wins, stage changes — appear on-screen instantly without manual refreshes.

4. Role-Based Access Control
Three user roles — admin, editor, and viewer — are enforced both at the middleware level and through Supabase RLS policies. Editors can create and modify; viewers can only read.

5. Reports with Date Range & CSV Export
A Reports page lets admins filter data by date range, view Recharts visualizations, and export tabular data as CSV — ready for spreadsheet analysis or client reporting.

6. User Management Panel
Admins can invite new team members via email, assign or change their roles, and deactivate accounts — all from a dedicated User Management page backed by Supabase Auth.

🧰 Tech Stack

Feature AreaTechnologyPurpose
Frontend FrameworkNext.js 14 (App Router) + TypeScriptAuthenticated app shell
Styling & UITailwind CSS + shadcn/uiData tables, forms, modals
Data TablesTanStack Table v8Sortable, filterable data grids
Drag & Dropdnd-kitKanban pipeline drag-and-drop
ChartsRecharts + TremorKPI cards and bar/line charts
FormsReact Hook Form + ZodComplex form validation
Data FetchingReact Query (TanStack)Server state, pagination, mutations
DatabaseSupabase (PostgreSQL)CRM data: contacts, deals, activities
Auth & RolesSupabase Auth + RLSRole-based access (admin/editor/viewer)
Live UpdatesSupabase RealtimeLive dashboard data subscriptions
FilesSupabase StorageFile attachments per record
HostingVercel / RailwayDeployment

🗂️ Website Structure

Page / ComponentFunctionality
DashboardTremor KPI cards, Recharts charts, Realtime deal feed
ContactsTanStack Table with sort, filter, pagination, bulk actions
Deals / PipelineDrag-and-drop Kanban with stages persisted to Supabase
ReportsDate range filters, chart views, and CSV export
SettingsOrganization settings and user profile management
User ManagementInvite, edit roles, and deactivate team members

🔒 Key Technical Highlights

👉 Click Here to View Live Demo

New Project Intake

Create a QUOTE

Tell us what you need and get a tailored scope.

Share your project details and we'll respond with next steps and a clear proposal.

Create a Quote->