diff --git a/.env.example b/.env.example index 31b2114d38226063a63fcbf91b9c0c69172191f0..673680755844bdbf3adbf3fab1e77a9f73bb9594 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