Prerequisites
- Node.js 18+ or Bun
- PostgreSQL (any installation method)
- GitHub Personal Access Token with
reposcope
Clone the repository
Install dependencies
Set up database
The setup script automatically detects your PostgreSQL installation:Configure environment variables
Copy the example file:.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
- Homepage URL:
- Copy the Client ID and Client Secret to your
.env