From fede240c03a82a277eceecb83f7ea811541770f4 Mon Sep 17 00:00:00 2001 From: Keion Date: Mon, 23 Feb 2026 14:07:08 -0700 Subject: [PATCH 1/2] ignore lock files --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index c308fe3..47e3235 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ /.pnp .pnp.js .yarn/install-state.gz +yarn.lock +package-lock.json # testing /coverage From a1ee1476f18b72f3d1299ad89158b5cc290d2adf Mon Sep 17 00:00:00 2001 From: Keion Date: Mon, 23 Feb 2026 14:07:50 -0700 Subject: [PATCH 2/2] Added further instructions for google auth --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 726c685..6abfe29 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,18 @@ To get a local copy up and running follow these simple steps. npm install ``` 3. Create a `.env.local` file and add your MongoDB URI and NextAuth URL - ``` - MONGO_URI=your_mongodb_uri + ```sh + MONGO_URI=your_mongodb_uri # This can be obtained from MongoDB Atlas after creating a cluster and database. NEXTAUTH_URL=http://localhost:3000 + + # Google OAuth credentials (for Google authentication) + GOOGLE_CLIENT_ID="your_google_client_id" # This can be obtained from the Google Cloud Console after creating a project and OAuth 2.0 credentials. + GOOGLE_CLIENT_SECRET="your_google_client_secret" # This can also be obtained from the Google Cloud ``` + Ensure when you create the google auth credentials, you set the authorized redirect URI to: + - `http://localhost:3000/api/auth/callback/google` for local development. + - `https://your-deployment-url/api/auth/callback/google` for production. + 4. Run the development server ```sh npm run dev