- Ruby 3.3+
- GitHub App with "Read repository data" permissions
-
Clone the repository
git clone <repository-url> cd github_project_fetch
-
Install dependencies
bundle install
-
Set up environment variables
cp .env.example .env # Edit .env with your GitHub App credentials -
Run tests
bundle exec rspec
-
Install Vercel CLI
npm i -g vercel
-
Deploy
vercel
-
Set environment variables in Vercel dashboard
- Add all variables from your
.envfile
- Add all variables from your
-
Update GitHub App URLs
- Update your GitHub App's webhook and callback URLs to point to your Vercel deployment
-
Configure Deployment Settings
- Configure your project in the Vercel dashboard as needed
⚠️ Note: Deployments are managed by Vercel. GitHub Actions runs linting and tests only.
The API is optimized with response caching using stale-while-revalidate:
- API Documentation: 1 hour cache, 2 hours stale
- Health Checks: 10 seconds cache, 1 minute stale
- Project Data: 10 minutes cache, 20 minutes stale