From c40430f25debd5d82929c79475df8fa99ddba69c Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:34:33 +0530 Subject: [PATCH 1/7] Create README.md --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..07d194d --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +Make sure you have the following installed on your machine: + +- [Git](https://git-scm.com/) +- [Node.js](https://nodejs.org/en) +- [npm](https://www.npmjs.com/) (Node Package Manager) + +**Cloning the Repository** + +```bash +git clone git@github.com:adrianhajdin/project_3D_developer_portfolio.git +cd project_3D_developer_portfolio +``` + +**Installation** + +Install the project dependencies using npm: + +```bash +npm install +``` + +**Set Up Environment Variables** + +Create a new file named `.env` in the root of your project and add the following content: + +```env +REACT_APP_BASE_URL = http://localhost:4000/api/v1 + +REACT_APP_GOOGLE_CLIENT_ID = + +REACT_APP_RAZORPAY_KEY = +``` + +Replace the placeholder values with your actual EmailJS credentials. You can obtain these credentials by signing up on the [EmailJS website](https://www.emailjs.com/). + +**Running the Project** + +```bash +npm run dev +``` + +Open [http://localhost:5173](http://localhost:5173) in your browser to view the project. From 18279a705bc8a186693f7f4183974385e2b36434 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:36:19 +0530 Subject: [PATCH 2/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07d194d..e76c176 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Make sure you have the following installed on your machine: **Cloning the Repository** ```bash -git clone git@github.com:adrianhajdin/project_3D_developer_portfolio.git +git clone https://github.com/kc-sharma/StudyNotion.git cd project_3D_developer_portfolio ``` From 807070881544200415472093dcc1dc552fb73e47 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:36:53 +0530 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e76c176..6fa8727 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Make sure you have the following installed on your machine: ```bash git clone https://github.com/kc-sharma/StudyNotion.git -cd project_3D_developer_portfolio +cd StudyNotion ``` **Installation** From d78565669af382aa7a41d34cd973da5476933771 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:43:58 +0530 Subject: [PATCH 4/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6fa8727..19ab32a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ REACT_APP_GOOGLE_CLIENT_ID = REACT_APP_RAZORPAY_KEY = ``` -Replace the placeholder values with your actual EmailJS credentials. You can obtain these credentials by signing up on the [EmailJS website](https://www.emailjs.com/). +Replace the placeholder values with your actual Google OAuth and Razorpay credentials. You can obtain these credentials by signing up on the [Google Cloud Console](https://cloud.google.com/) and [Razorpay](https://razorpay.com) **Running the Project** @@ -39,4 +39,4 @@ Replace the placeholder values with your actual EmailJS credentials. You can obt npm run dev ``` -Open [http://localhost:5173](http://localhost:5173) in your browser to view the project. +Open [http://localhost:3000](http://localhost:3000) in your browser to view the project. From 21756adfb3b826be161c3aee2b2fb5bb4865c643 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:53:47 +0530 Subject: [PATCH 5/7] Update README.md --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19ab32a..e7db84c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,32 @@ REACT_APP_GOOGLE_CLIENT_ID = REACT_APP_RAZORPAY_KEY = ``` -Replace the placeholder values with your actual Google OAuth and Razorpay credentials. You can obtain these credentials by signing up on the [Google Cloud Console](https://cloud.google.com/) and [Razorpay](https://razorpay.com) +Also Create a new file named `.env` in the server folder of your project and add the following content: + +```env +MAIL_HOST = smtp.gmail.com +MAIL_USER = +MAIL_PASS = +GOOGLE_CLIENT_ID = YOUR_OAUTH_CREDENTIALS + +JWT_SECRET = +FOLDER_NAME = + +RAZORPAY_KEY = +RAZORPAY_SECRET = +CLOUD_NAME = +API_KEY = +API_SECRET = + +MONGODB_URL = +PORT = 4000 +NODE_VERSION = 18.17.1 + +CLIENT = http://localhost:3000 + +``` + +Replace the placeholder values with your actual Google OAuth, Gmail SMTP, Razorpay, MongoDB and JWT credentials. You can obtain these credentials by signing up on the [Google Cloud Console](https://cloud.google.com/), [Razorpay](https://razorpay.com), [MongoDB](https://mongodb.com) and [JWT](https://jwt.com) **Running the Project** From 9e9507ce064f4ca015d5dd5c990d7d3bffa06a19 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 14:55:17 +0530 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7db84c..d089200 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ CLIENT = http://localhost:3000 ``` -Replace the placeholder values with your actual Google OAuth, Gmail SMTP, Razorpay, MongoDB and JWT credentials. You can obtain these credentials by signing up on the [Google Cloud Console](https://cloud.google.com/), [Razorpay](https://razorpay.com), [MongoDB](https://mongodb.com) and [JWT](https://jwt.com) +Replace the placeholder values with your actual Google OAuth, Gmail SMTP, Razorpay, MongoDB and JWT credentials. You can obtain these credentials by signing up on the [Google Cloud Console](https://cloud.google.com/), [Razorpay](https://razorpay.com), [MongoDB](https://mongodb.com) and [JWT](https://jwt.io) **Running the Project** From 2b2f5ce74b67152a0c90cfc19ffa9fb7863d84cb Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 13 Oct 2024 15:04:38 +0530 Subject: [PATCH 7/7] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d089200..fe47bd7 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ Create a new file named `.env` in the root of your project and add the following ```env REACT_APP_BASE_URL = http://localhost:4000/api/v1 -REACT_APP_GOOGLE_CLIENT_ID = +REACT_APP_GOOGLE_CLIENT_ID = YOUR_OAUTH_CREDENTIALS -REACT_APP_RAZORPAY_KEY = +REACT_APP_RAZORPAY_KEY = YOUR_RAZORPAY_CREDENTIALS ``` Also Create a new file named `.env` in the server folder of your project and add the following content: @@ -42,7 +42,7 @@ GOOGLE_CLIENT_ID = YOUR_OAUTH_CREDENTIALS JWT_SECRET = FOLDER_NAME = -RAZORPAY_KEY = +RAZORPAY_KEY = YOUR_RAZORPAY_CREDENTIALS RAZORPAY_SECRET = CLOUD_NAME = API_KEY =