Project Management Dashboard for the DEVCON+ team — built with Next.js 14, Supabase, and Tailwind CSS.
| Layer | Tool |
|---|---|
| Framework | Next.js 14 (App Router, TypeScript) |
| Backend | Supabase (Postgres, Auth, Storage, Edge Functions) |
| Resend | |
| Bot | Telegram Bot API |
| Styling | Tailwind CSS |
| State | Zustand |
| Deployment | Vercel |
- Node.js 18+
- Supabase CLI:
npm i -g supabase
git clone <repo-url>
cd DevconPlus_Dashboard
npm installcp .env.local.example .env.localFill in .env.local with your Supabase project credentials, Resend API key, and Telegram bot token.
| Variable | Where to get it |
|---|---|
NEXT_PUBLIC_SUPABASE_URL |
Supabase Dashboard → Project Settings → API |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Supabase Dashboard → Project Settings → API |
SUPABASE_SERVICE_ROLE_KEY |
Supabase Dashboard → Project Settings → API |
RESEND_API_KEY |
resend.com → API Keys |
TELEGRAM_BOT_TOKEN |
@BotFather on Telegram |
TELEGRAM_GROUP_CHAT_ID |
Your DEVCON+ Telegram group chat ID |
NEXT_PUBLIC_APP_URL |
http://localhost:3000 for local dev |
In the Supabase Dashboard → SQL Editor, run the migrations in order:
supabase/migrations/001_initial_schema.sql
supabase/migrations/002_rls_policies.sql
supabase/migrations/003_storage.sql
Or using the Supabase CLI with a local instance:
supabase db pushAfter running migrations, manually insert a contributor in Supabase:
INSERT INTO contributors (email, full_name, role_id)
VALUES ('you@devconph.com', 'Your Name', (SELECT id FROM roles WHERE name = 'Project Manager'));Then create a matching Supabase Auth user in the dashboard with the same email.
npm run devOpen http://localhost:3000 — you will be redirected to the login page.
/app
/(authenticated)
/dashboard → PM Kanban board
/qa → QA test tracker
/announcements → Announcements feed
/contributors → Team directory
/login → Auth page
/access-denied → Non-contributor error page
/api
/telegram → Telegram webhook handler
/notify → Email notification handler
/components
/ui → Shared UI (Sidebar, Modal, Button, Badge)
/board → Kanban-specific components
/qa → QA-specific components
/lib
supabase.ts → Browser + server + service-role Supabase clients
store.ts → Zustand auth store
resend.ts → Resend client stub
telegram.ts → Telegram bot stub
utils.ts → cn(), formatDate(), isOverdue()
/types
index.ts → All TypeScript types + DB type map
/supabase
/migrations → SQL migration files (run in order)
/functions → Supabase Edge Functions (Deno)
config.toml → Local Supabase config
Only pre-added contributors can log in. The flow:
- User signs in with email + password via Supabase Auth.
- After sign-in, the app checks if that email exists in the
contributorstable. - If not found, sign out and redirect to
/access-denied. - If found, store the contributor record in Zustand and proceed to dashboard.
Add new team members by inserting their email into the contributors table and creating a Supabase Auth user for them.
- Push to GitHub.
- Import the repo in Vercel.
- Add all
.env.localvariables as Vercel Environment Variables. - Deploy — Vercel auto-detects Next.js.
| Batch | Scope |
|---|---|
| 1 (this batch) | Scaffold, Supabase schema, RLS, Storage, Edge Function stubs, Auth |
| 2 | Full UI — Kanban board, task modals, QA tracker, announcements, contributors |
| 3 | Notifications — Resend email, Telegram bot, Edge Function wiring |