From 09cbfbc4d40c17a1de40cfde1329af3a3398e5c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yusuf=20Akg=C3=BCl?= <s86116@bht-berlin.de>
Date: Sun, 4 Jun 2023 22:45:50 +0200
Subject: [PATCH] update .env.example

---
 .env.example | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/.env.example b/.env.example
index 31b2114..6736807 100644
--- a/.env.example
+++ b/.env.example
@@ -1,16 +1,24 @@
 # Example .env file
 
+# Public App URL
+NEXT_PUBLIC_APP_URL="http://localhost:3000"
+
 # Database for connecting to Prisma
 DATABASE_URL="file:./dev.db"
 
-# Some URLs
+# URLs
 TWITCH_AUTH_BASE_URL="https://id.twitch.tv/oauth2"
 IGDB_BASE_URL="https://api.igdb.com/v4"
 IGDB_IMG_BASE_URL="https://images.igdb.com/igdb/image/upload"
 
-# For Authentication
+# For Twitch Auth to fetch access token
 TWITCH_CLIENT_ID="imdb_client_id"
 TWITCH_CLIENT_SECRET="imdb_auth_id"
 
+# For NextAuth // use `openssl rand -base64 32` to generate a secret
+NEXTAUTH_URL="http://localhost:3000"
 NEXTAUTH_SECRET="secret"
-NEXTAUTH_URL="http://localhost:3000"
\ No newline at end of file
+
+# For Github Auth
+GITHUB_CLIENT_ID="github_client_id"
+GITHUB_CLIENT_SECRET="github_client_secret"
\ No newline at end of file
-- 
GitLab