Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copy this file to .env.local and fill in the values.
# .env.local is gitignored and will never be committed.

# ── Required ──────────────────────────────────────────────────────────────────

# Postgres connection string (Neon or compatible)
DATABASE_URL=postgresql://user:password@host/dbname

# Secret used to sign session JWTs (any long random string)
SESSION_SECRET=change-me-to-a-long-random-secret

# Key used for field-level encryption (falls back to SESSION_SECRET if unset)
ENCRYPTION_KEY=change-me-to-a-long-random-secret

# ── GitHub OAuth app (required for login) ─────────────────────────────────────

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

# ── GitHub App (required for webhook + PR checks) ─────────────────────────────

GITHUB_APP_ID=
GITHUB_APP_SLUG=
GITHUB_PRIVATE_KEY=
GITHUB_WEBHOOK_SECRET=

# ── Optional ──────────────────────────────────────────────────────────────────

# Public URL of the app (used for OAuth redirect URIs, etc.)
# NEXT_PUBLIC_APP_URL=http://localhost:3000

# Set to "true" to seed the database with sample data on startup
# SEED_DATABASE=true

# Custom Drizzle migration metadata (defaults shown)
# DRIZZLE_MIGRATIONS_SCHEMA=drizzle
# DRIZZLE_MIGRATIONS_TABLE=__drizzle_migrations

# ── Integration test overrides ────────────────────────────────────────────────

# Port for the integration test Next.js server (default: 3310)
# TEST_INTEGRATION_PORT=3310

# Override SESSION_SECRET specifically for tests
# TEST_SESSION_SECRET=cla-bot-test-session-secret

# Point integration tests at an already-running server instead of spawning one
# TEST_BASE_URL=http://localhost:3000
19 changes: 0 additions & 19 deletions app/api/auth/logout/route.ts

This file was deleted.

12 changes: 0 additions & 12 deletions app/api/auth/session/route.ts

This file was deleted.

61 changes: 0 additions & 61 deletions app/api/contributor/route.ts

This file was deleted.

52 changes: 0 additions & 52 deletions app/api/orgs/[orgSlug]/route.ts

This file was deleted.

53 changes: 0 additions & 53 deletions app/api/orgs/route.ts

This file was deleted.

44 changes: 0 additions & 44 deletions app/api/sign/[orgSlug]/route.ts

This file was deleted.

60 changes: 0 additions & 60 deletions app/api/sign/route.ts

This file was deleted.

Loading
Loading