The app works immediately with no setup required:
npm run dev:fullThen click "Connect with GitHub" - it works instantly with demo data!
You only need this guide if you want to connect to real GitHub accounts.
Only needed if you want to connect to real GitHub accounts in production.
- Go to https://github.com/settings/developers
- Click "New OAuth App"
- Fill in:
- Application name:
Redstring UI React - Homepage URL:
http://localhost:4000(or your domain) - Authorization callback URL:
http://localhost:4000/oauth/callback(or your domain)
- Application name:
- Copy the Client ID and Client Secret
Replace the placeholder values in your .env file:
# Replace these:
GITHUB_CLIENT_ID=your-github-client-id-here
GITHUB_CLIENT_SECRET=your-github-client-secret-here
VITE_GITHUB_CLIENT_ID=your-github-client-id-here
# With your real values:
GITHUB_CLIENT_ID=abc123def456ghi789
GITHUB_CLIENT_SECRET=jkl012mno345pqr678
VITE_GITHUB_CLIENT_ID=abc123def456ghi789npm run dev:fullThat's it! Now OAuth will connect to real GitHub accounts.
- Development: Works immediately with mock data
- Production: Add real GitHub OAuth credentials for live accounts
- Zero friction for getting started
- No setup required for development
- Optional production setup when needed
- Best of both worlds - easy dev, powerful production