Skip to content

Web Dashboard (web/) ​

The FeedbackKit dashboard is a client-side Single Page Application (SPA) built with modern frontend tools.


Tech Stack ​

  • Framework: React 19 + TypeScript
  • Bundler: Vite 7
  • Routing: React Router v7 (BrowserRouter)
  • Styling: Tailwind CSS v4 (@tailwindcss/vite)
  • Backend Client: @supabase/supabase-js

Key Routes & Pages ​

RouteComponentAccessDescription
/LandingPage.tsxPublicMarketing landing page and feature highlights
/loginLoginPage.tsxPublicGitHub OAuth sign-in
/docs/*DocsLayout.tsxPublicIn-dashboard integration documentation
/cli-authCliAuthPage.tsxAuthenticatedToken exchange handshake for feedbackkit login
/projectsProjectsPage.tsxProtectedOrganization projects list
/projects/:idProjectPage.tsxProtectedFeedback inbox & filter view
/projects/:id/feedback/:feedbackIdFeedbackDetailPage.tsxProtectedAnnotated screenshot viewer & prompt generator
/cli-sessionsCliSessionsPage.tsxProtectedActive CLI tokens and revocations
/billingBillingPage.tsxProtectedPlan and subscription management

Local Development ​

bash
cd web
npm install
npm run dev      # Runs Vite dev server at http://localhost:3000
npm run test     # Runs Node test runner on unit tests
npm run lint     # Runs ESLint
npm run build    # Checks TypeScript types and builds production bundle

Environment Variables ​

Create web/.env.local based on .env.local.example:

bash
VITE_SUPABASE_URL=http://127.0.0.1:54321
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1...

When running against the local Supabase stack, ./scripts/start-web.sh automatically configures this file.

Built with VitePress · FeedbackKit is open source