From cc0826b6500decee5afc48058a9f4b63bc89bb09 Mon Sep 17 00:00:00 2001 From: Carrie Zheng Jiarui Date: Sat, 18 Nov 2023 10:39:36 +0800 Subject: [PATCH 1/5] Add instructions to wait for questions to appear --- Assignment1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Assignment1.md b/Assignment1.md index 0265a359..0c267498 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -9,3 +9,4 @@ | 3 | Set up the environment variables in `.env` for `backend/question-service` and `frontend`. | | 4 | `cd` into `backend/question-service` and `frontend`. Run `npm install` to install the dependencies for `question-service` and `frontend`. Note: You may need to run `npm i --save-dev @types/cors` and `npm i --save-dev @types/express` should you encounter any errors. | | 5 | In `frontend` and `backend/question-service`, run `npm start`. Access the frontend by navigating to `localhost:3000` in your browser. | +| 6 | The landing page will show "No questions found" at first. This is because all our questions in the database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to load all 2354 questions. Wait for the questions to appear on the landing page before performing CRUD. | \ No newline at end of file From 19773f48057b32abc956b812811de654034b59d4 Mon Sep 17 00:00:00 2001 From: Carrie Zheng Jiarui <97394017+carriezhengjr@users.noreply.github.com> Date: Sat, 18 Nov 2023 10:42:22 +0800 Subject: [PATCH 2/5] Update Assignment1.md --- Assignment1.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Assignment1.md b/Assignment1.md index 0c267498..4ac8127c 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -9,4 +9,10 @@ | 3 | Set up the environment variables in `.env` for `backend/question-service` and `frontend`. | | 4 | `cd` into `backend/question-service` and `frontend`. Run `npm install` to install the dependencies for `question-service` and `frontend`. Note: You may need to run `npm i --save-dev @types/cors` and `npm i --save-dev @types/express` should you encounter any errors. | | 5 | In `frontend` and `backend/question-service`, run `npm start`. Access the frontend by navigating to `localhost:3000` in your browser. | -| 6 | The landing page will show "No questions found" at first. This is because all our questions in the database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to load all 2354 questions. Wait for the questions to appear on the landing page before performing CRUD. | \ No newline at end of file +| 6 | The landing page will show "No questions found" at first. This is because all our questions in the database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to load all 2354 questions. Wait for the questions to appear on the landing page before performing CRUD. | + +Before: +Screenshot 2023-11-18 at 10 24 56 + +After waiting: +Screenshot 2023-11-18 at 10 24 44 From 6e5e8d1c450f46d9a3d41663c33e5d2a8e68df09 Mon Sep 17 00:00:00 2001 From: Carrie Zheng Jiarui <97394017+carriezhengjr@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:50:40 +0800 Subject: [PATCH 3/5] Update Assignment1.md --- Assignment1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assignment1.md b/Assignment1.md index 4ac8127c..e4b37a9b 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -9,10 +9,10 @@ | 3 | Set up the environment variables in `.env` for `backend/question-service` and `frontend`. | | 4 | `cd` into `backend/question-service` and `frontend`. Run `npm install` to install the dependencies for `question-service` and `frontend`. Note: You may need to run `npm i --save-dev @types/cors` and `npm i --save-dev @types/express` should you encounter any errors. | | 5 | In `frontend` and `backend/question-service`, run `npm start`. Access the frontend by navigating to `localhost:3000` in your browser. | -| 6 | The landing page will show "No questions found" at first. This is because all our questions in the database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to load all 2354 questions. Wait for the questions to appear on the landing page before performing CRUD. | +| 6 | The question table on the landing page will be flashing at first. This is because all our questions in the final database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to get and load all 2354 questions. Wait for the question table containing questions to appear on the landing page before performing CRUD. Note: You may have to wait again after creating, editing or deleting a question. | Before: -Screenshot 2023-11-18 at 10 24 56 +Screenshot 2023-11-18 at 13 41 45 After waiting: -Screenshot 2023-11-18 at 10 24 44 +Screenshot 2023-11-18 at 13 50 03 From 4ec6efb11fd8457e940e369bb4c2610697c42f89 Mon Sep 17 00:00:00 2001 From: Carrie Zheng Jiarui <97394017+carriezhengjr@users.noreply.github.com> Date: Sat, 18 Nov 2023 14:17:47 +0800 Subject: [PATCH 4/5] Update Assignment1.md Change waiting time from 2 min to 3 min :/ --- Assignment1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assignment1.md b/Assignment1.md index e4b37a9b..14e8f0f6 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -9,7 +9,7 @@ | 3 | Set up the environment variables in `.env` for `backend/question-service` and `frontend`. | | 4 | `cd` into `backend/question-service` and `frontend`. Run `npm install` to install the dependencies for `question-service` and `frontend`. Note: You may need to run `npm i --save-dev @types/cors` and `npm i --save-dev @types/express` should you encounter any errors. | | 5 | In `frontend` and `backend/question-service`, run `npm start`. Access the frontend by navigating to `localhost:3000` in your browser. | -| 6 | The question table on the landing page will be flashing at first. This is because all our questions in the final database are scraped from Leetcode, so it would take a while, as long as 2 minutes, to get and load all 2354 questions. Wait for the question table containing questions to appear on the landing page before performing CRUD. Note: You may have to wait again after creating, editing or deleting a question. | +| 6 | The question table on the landing page will be flashing at first. This is because all our questions in the final database are scraped from Leetcode, so it would take a while, as long as 3 minutes, to get and load all 2354 questions. Wait for the question table containing questions to appear on the landing page before performing CRUD. Note: You may have to wait again after creating, editing or deleting a question. | Before: Screenshot 2023-11-18 at 13 41 45 From 0397787bc030312fe82b0ee7b866f02a84466461 Mon Sep 17 00:00:00 2001 From: Carrie Zheng Jiarui <97394017+carriezhengjr@users.noreply.github.com> Date: Sat, 18 Nov 2023 14:31:20 +0800 Subject: [PATCH 5/5] Update Assignment1.md --- Assignment1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assignment1.md b/Assignment1.md index 14e8f0f6..180b8483 100644 --- a/Assignment1.md +++ b/Assignment1.md @@ -9,7 +9,7 @@ | 3 | Set up the environment variables in `.env` for `backend/question-service` and `frontend`. | | 4 | `cd` into `backend/question-service` and `frontend`. Run `npm install` to install the dependencies for `question-service` and `frontend`. Note: You may need to run `npm i --save-dev @types/cors` and `npm i --save-dev @types/express` should you encounter any errors. | | 5 | In `frontend` and `backend/question-service`, run `npm start`. Access the frontend by navigating to `localhost:3000` in your browser. | -| 6 | The question table on the landing page will be flashing at first. This is because all our questions in the final database are scraped from Leetcode, so it would take a while, as long as 3 minutes, to get and load all 2354 questions. Wait for the question table containing questions to appear on the landing page before performing CRUD. Note: You may have to wait again after creating, editing or deleting a question. | +| 6 | The question table on the landing page will be flashing at first. This is because all our questions in the final database are scraped from Leetcode, so it would take a while, as long as 3 minutes, to get and load all 2354 questions. Wait for the question table containing questions to appear on the landing page before performing CRUD. Note: You may have to wait again after creating, editing or deleting a question. We apologise for the inconvenience, and seek your understanding. | Before: Screenshot 2023-11-18 at 13 41 45