Skip to content
Closed
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
13 changes: 13 additions & 0 deletions apps/api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Required
DATABASE_URL="postgresql://USER:PASSWORD@localhost:5432/your_database_name?schema=public"
JWT_SECRET="replace-with-a-strong-random-secret"

# Optional (good defaults shown)
PORT=8080
CORS_ORIGINS=http://localhost:3000
NODE_ENV=development

# Optional GitHub integration
# To enable GitHub queries, set GITHUB_PERSONAL_ACCESS_TOKEN in your local .env file
# Generate a classic token with "public_repo" access at https://github.com/settings/tokens
# GITHUB_PERSONAL_ACCESS_TOKEN should NEVER be committed to version control