This repository contains the source for pr-review.com, a dashboard for keeping up with GitHub pull request reviews.
Sign in with GitHub to see:
- PRs where your review has been requested
- your own open PRs and their review status
- review stats and recent activity across your organizations
- a public profile page you can share
It also sends notifications when a review is requested or a PR is ready.
| Part | Location | Stack |
|---|---|---|
| Web app | src/ |
React, React Router, Vite, TypeScript |
| Backend | supabase/functions/github-auth |
Supabase Edge Function (Deno) for GitHub OAuth and API calls |
| Database | supabase/migrations |
Supabase Postgres |
| Mobile apps | android/, ios/ |
Capacitor wrappers around the web build |
-
Install dependencies:
npm install
-
Create a
.envfile in the repo root:VITE_SUPABASE_URL=https://<your-project>.supabase.co VITE_SUPABASE_ANON_KEY=<your-anon-key>
-
Start the dev server:
npm run dev
| Command | What it does |
|---|---|
npm run dev |
Start the Vite dev server |
npm test |
Run unit tests with Vitest |
npm run build |
Type-check, test, and build to dist/ |
npm run smoke |
Check the deployed github-auth function's sign-in and protected routes |
npm run cap:sync |
Build and sync the web app into the Android and iOS projects |
npm run cap:android / npm run cap:ios |
Open the native project in Android Studio or Xcode |