From c294992b75b4cc1f795d9659e8e9898d44ff4b63 Mon Sep 17 00:00:00 2001 From: Alishba Saboor Date: Thu, 4 Dec 2025 15:48:38 +0500 Subject: [PATCH 1/3] Suggestions added by Alishba Saboor --- SUGGESTIONS.md | 17 +++++++++++++++++ package-lock.json | 8 ++++++++ 2 files changed, 25 insertions(+) diff --git a/SUGGESTIONS.md b/SUGGESTIONS.md index ba02864..7081174 100644 --- a/SUGGESTIONS.md +++ b/SUGGESTIONS.md @@ -1,4 +1,21 @@ # Cohort Project - Suggestions for Improvement +## Suggested By: Alishba Saboor +I have faced some difficulty in setting up the project, we can add a proper readme for beginners facing these issues. The issue I faced was error related to `npm` command not recognized initially. It took me some time to search the errors I faced, so it would be more great if installation process from scratch is added in readme +**Solution:** +Add this in readme: +- Firstly download and install Node.js for Windows from https://nodejs.org/en/download/ , which also installs npm (Use Windows Installer) +- Verify installation with `node -v` and `npm -v` +- If npm gives a script execution error, we have to open PowerShell as Administrator and run `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` in powershell, after that confirm the execution policy change by typing Y +- Fork and Clone the repository using `git clone https://github.com/mutahir-muhammad/Cohort.git` (use the forked repository link not original `git clone https://github.com/your-username/Cohort.git`) +- Navigate into the project folder with `cd Cohort` +- Install dependencies using `npm install` +- Run `npm audit fix` to resolve minor vulnerabilities, no need to run `npm audit fix --force` as there is no need to force major challenges. +- Start the development server using `npm run dev` +- Open the app at http://localhost:5173 +- Build the production version using `npm run build` + +--- + **Reviewed by: Muaz** **Date: December 4, 2025** diff --git a/package-lock.json b/package-lock.json index 9f14138..3261718 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,6 +73,7 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1335,6 +1336,7 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1711,6 +1713,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "baseline-browser-mapping": "^2.8.25", "caniuse-lite": "^1.0.30001754", @@ -2367,6 +2370,7 @@ "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -4350,6 +4354,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", @@ -4566,6 +4571,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "license": "MIT", + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -5321,6 +5327,7 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -5546,6 +5553,7 @@ "integrity": "sha512-XBmSKRLXLxiaPYamLv3/hnP/KXDai1NDexN0FpkTaZXTfycHvkRHoenpgl/fvuK/kPbB6xAgoyiryAhQNxYmAQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.38", From 42f453091ce859e2e16589abc14e43982552c11d Mon Sep 17 00:00:00 2001 From: Alishba Saboor Date: Thu, 4 Dec 2025 15:56:27 +0500 Subject: [PATCH 2/3] Suggestions added by Alishba Saboor --- SUGGESTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUGGESTIONS.md b/SUGGESTIONS.md index 7081174..a0d8409 100644 --- a/SUGGESTIONS.md +++ b/SUGGESTIONS.md @@ -16,7 +16,7 @@ Add this in readme: --- -**Reviewed by: Muaz** +## Reviewed by: Muaz* **Date: December 4, 2025** --- From 32800e8d9ba19096fb89a6dfd917c417564b9b67 Mon Sep 17 00:00:00 2001 From: Alishba Saboor Date: Thu, 4 Dec 2025 15:59:15 +0500 Subject: [PATCH 3/3] Suggestions added by Alishba Saboor --- SUGGESTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUGGESTIONS.md b/SUGGESTIONS.md index a0d8409..3a2bb8c 100644 --- a/SUGGESTIONS.md +++ b/SUGGESTIONS.md @@ -16,7 +16,7 @@ Add this in readme: --- -## Reviewed by: Muaz* +## Reviewed by: Muaz **Date: December 4, 2025** ---