Website for Canadians for Broadcast Accountability, a nonprofit focused on holding Canadian broadcasters accountable to their CRTC licence obligations.
Domain: cba-tv.ca
- Next.js 16 (App Router)
- Tailwind CSS 4
- Vercel KV (Redis) for petition signatures and email subscriptions
- Deployed on Vercel
npm install
npm run devOpen http://localhost:3000 to view the site.
Copy .env.example to .env.local and fill in the values:
cp .env.example .env.localRequired for forms to work:
KV_URL- Vercel KV connection URLKV_REST_API_URL- Vercel KV REST API URLKV_REST_API_TOKEN- Vercel KV API tokenKV_REST_API_READ_ONLY_TOKEN- Vercel KV read-only token
These are automatically configured when you link a KV database in the Vercel dashboard.
- Push to GitHub
- Import project in Vercel
- Add a KV database (Storage > KV > Create)
- Link KV to the project
- Configure custom domain: cba-tv.ca
/ Home
/about About CBA
/issues Issues overview
/issues/pay-audio Pay audio bundling campaign (active)
/take-action Sign petitions, join email list
/resources CRTC guides
/resources/how-to-complain How to file a CRTC complaint
/resources/how-to-intervene How to intervene in hearings
/contact Contact form
POST /api/petition/sign- Sign petition (stores in KV)GET /api/petition/count- Get signature countPOST /api/subscribe- Email signupPOST /api/contact- Contact form submission