🐞big fix: removing node_modules from backend and updated .gitignore - #219
Open
ayushpandey101 wants to merge 1 commit into
Open
🐞big fix: removing node_modules from backend and updated .gitignore#219ayushpandey101 wants to merge 1 commit into
ayushpandey101 wants to merge 1 commit into
Conversation
Thanks for creating a PR for your Issue!
|
This was referenced Oct 6, 2025
Contributor
Author
|
Hey @Skrishna0703, please review and merge the pr . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
The
node_modulesfolder in the backend was not included in.gitignore, causing unnecessary Git tracking of dependency files. This leads to:By removing
node_modulesfrom version control and adding it to.gitignore, we ensure:✅ Cleaner commits
✅ Smaller repo size
✅ Consistent dependency installation via
package.json+npm install✅ Better team collaboration & Git hygiene
What changes are included in this PR?
Removed existing
node_modules/folder from Git tracking (if previously committed)Added
/node_modules/to.gitignorein the backend root directoryVerified no other critical ignores were missing (optional: added common ones like
.env,*.logif not present)Are these changes tested?
✅ Yes — manually verified:
git status→ confirmsnode_modules/is no longer trackednpm install→ confirmed dependencies install correctly.gitignoresyntax — valid and workingAre there any user-facing changes?
🚫 No.
This is a developer/Git workflow improvement. End users or app functionality are unaffected.
Screenshots (if Applicable)
📸 Not applicable — this is a backend/Git configuration change with no UI impact.
✅ Ready to merge.
Improves codebase maintainability and prevents future Git headaches.