From 788c658c75bd602b106c1d4dd2b8adfdb4784bd3 Mon Sep 17 00:00:00 2001 From: MD AZFAR ALAM Date: Mon, 30 Dec 2024 13:31:30 +0530 Subject: [PATCH 1/4] [Update] Issue template & .gitignore --- .env.example | 14 +++++++------- .github/ISSUE_TEMPLATE/bug.yml | 2 +- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature.yml | 2 +- .gitignore | 1 + 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index 85b90d29..93530b4b 100644 --- a/.env.example +++ b/.env.example @@ -1,17 +1,17 @@ -DATABASE_URL= "your mongoDB connection string" +DATABASE_URL= "mongodb+srv://mdazfar2:azfaralam@cluster0.3yj9j.mongodb.net/ezyshop" # ensure that you have a mongoDB cluster url, (you can get one from mongoDB atlas for free) -NEXTAUTH_URL=base url of the hosted website/development server -NEXTAUTH_SECRET=Your password which will be used to sign jwt tokens +NEXTAUTH_URL=http://localhost:3000/ +NEXTAUTH_SECRET=azfaralamezyshop SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_SECURE=false -SMTP_USER=your email -SMTP_PASS=you email app password (not gmail password, create an app password from gmail) +SMTP_USER=sarsaar5565@gmail.com +SMTP_PASS=xvfx dihh lwxw gpej -NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your cloudinary id -NEXT_PUBLIC_CLOUDINARY_CLOUD_PRESET=your cloudinary preset +NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=deaxjxrkd +NEXT_PUBLIC_CLOUDINARY_CLOUD_PRESET=sn7ekd5y NEXT_PUBLIC_BASE_URL=base url of the hosted website/development server diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index d0bf5803..d0bed6eb 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -44,7 +44,7 @@ body: - label: 'I have read the [Contributing Guidelines](https://github.com/mdazfar2/Ezyshop/blob/main/CONTRIBUTING.md)' required: true - - label: "I'm a GSSoC'24-Extd contributor" + - label: "I'm a SWoC'25 contributor" - label: 'I am willing to work on this issue (optional)' required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 9a306bc4..cb7d183b 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -60,7 +60,7 @@ body: options: - label: I have read the [Contributing Guidelines](https://github.com/mdazfar2/Ezyshop/blob/main/CONTRIBUTING.md) required: true - - label: I'm a GSSOC'24-Extd contributor + - label: I'm a SWoC'25 contributor - label: I have starred the repository required: true - label: 'I am willing to work on this issue (optional)' diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 66f59782..ac58e021 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -27,7 +27,7 @@ body: - label: 'I have read the [Contributing Guidelines](https://github.com/mdazfar2/Ezyshop/blob/main/CONTRIBUTING.md)' required: true - - label: "I'm a GSSoC'24-Extd contributor" + - label: "I'm a SWoC'25 contributor" - label: 'I am willing to work on this issue (optional)' required: false \ No newline at end of file diff --git a/.gitignore b/.gitignore index 950215f9..cd0ae16e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ yarn-error.log* # local env files .env .env*.local +.env.example # vercel .vercel From 57ce170f5ad28eec3b936bd3254febc866ad5135 Mon Sep 17 00:00:00 2001 From: MD AZFAR ALAM Date: Mon, 30 Dec 2024 13:34:11 +0530 Subject: [PATCH 2/4] Remove env example for secure --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cd0ae16e..57166ef0 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,7 @@ yarn-error.log* # local env files .env .env*.local -.env.example +.env*.example # vercel .vercel From 0e22c0905493547224450dc75d6afe2aab76c6af Mon Sep 17 00:00:00 2001 From: MD AZFAR ALAM Date: Mon, 30 Dec 2024 13:37:08 +0530 Subject: [PATCH 3/4] Remove env example for secure --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 57166ef0..b0f65748 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ yarn-debug.log* yarn-error.log* # local env files -.env +.env* .env*.local .env*.example # vercel From d8c6c9ab13e1a4ea297d2f7f76cf7f8d0a4d5305 Mon Sep 17 00:00:00 2001 From: MD AZFAR ALAM Date: Mon, 30 Dec 2024 13:38:31 +0530 Subject: [PATCH 4/4] [Delete] unnecessary file --- .env.example | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 93530b4b..00000000 --- a/.env.example +++ /dev/null @@ -1,19 +0,0 @@ -DATABASE_URL= "mongodb+srv://mdazfar2:azfaralam@cluster0.3yj9j.mongodb.net/ezyshop" -# ensure that you have a mongoDB cluster url, (you can get one from mongoDB atlas for free) - -NEXTAUTH_URL=http://localhost:3000/ -NEXTAUTH_SECRET=azfaralamezyshop - -SMTP_HOST=smtp.gmail.com -SMTP_PORT=587 -SMTP_SECURE=false -SMTP_USER=sarsaar5565@gmail.com -SMTP_PASS=xvfx dihh lwxw gpej - -NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=deaxjxrkd -NEXT_PUBLIC_CLOUDINARY_CLOUD_PRESET=sn7ekd5y - -NEXT_PUBLIC_BASE_URL=base url of the hosted website/development server - -NEXT_PUBLIC_BASE_Cover=url of default image (should be from cloudinary) -