Skip to main content

Prerequisites

  • Node.js 18+ or Bun
  • PostgreSQL (any installation method)
  • GitHub Personal Access Token with repo scope

Clone the repository

Install dependencies

Set up database

The setup script automatically detects your PostgreSQL installation:

Configure environment variables

Copy the example file:
Then update .env with your GitHub token and database configuration.

Set up GitHub OAuth App

  • Go to GitHub Settings > Developer settings > OAuth Apps
  • Create a new OAuth App with:
    • Homepage URL: http://localhost:3000
    • Authorization callback URL: http://localhost:3000/api/auth/callback/github
  • Copy the Client ID and Client Secret to your .env

Start the development server

Navigate to http://localhost:3000

Linting