From 44a1dcd869c14bfffb37d06ee3f24d61f47f5d78 Mon Sep 17 00:00:00 2001 From: Rehan959 Date: Sun, 9 Nov 2025 00:08:13 +0530 Subject: [PATCH 1/2] Add new feature --- apps/api/.env.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 apps/api/.env.example diff --git a/apps/api/.env.example b/apps/api/.env.example new file mode 100644 index 0000000..2f07a4f --- /dev/null +++ b/apps/api/.env.example @@ -0,0 +1,12 @@ +# 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 but needed for GitHub queries to work +# Generate a classic token with "public_repo" access at https://github.com/settings/tokens +GITHUB_PERSONAL_ACCESS_TOKEN=your_github_personal_access_token_here From 46ae0cda67d1fedc8ee0193c1e0c683b8aba83f3 Mon Sep 17 00:00:00 2001 From: Rehan959 Date: Sun, 9 Nov 2025 10:28:47 +0530 Subject: [PATCH 2/2] Changed the issues --- apps/api/.env.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/api/.env.example b/apps/api/.env.example index 2f07a4f..2fe9ef5 100644 --- a/apps/api/.env.example +++ b/apps/api/.env.example @@ -7,6 +7,7 @@ PORT=8080 CORS_ORIGINS=http://localhost:3000 NODE_ENV=development -# Optional but needed for GitHub queries to work +# 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=your_github_personal_access_token_here +# GITHUB_PERSONAL_ACCESS_TOKEN should NEVER be committed to version control