Problem
The repository currently has no root-level .gitignore file. As the project grows with multiple modules (poc-sync-engine, poc-frappe-api) and eventually the full React Native application, there is a direct risk of committing generated artifacts to version control.
Without a .gitignore, the following files can accidentally end up in the repository:
node_modules/ directories (hundreds of MBs of dependencies)
-
- Build outputs (
dist/, coverage/, android/app/build/)
-
-
- Environment secrets (
.env, .env.local)
-
-
-
- IDE-specific configuration (
.vscode/, .idea/)
-
-
-
-
- OS metadata (
.DS_Store, Thumbs.db)
This increases repository size, slows down cloning for new contributors, and creates a risk of leaking sensitive credentials.
Proposed Solution
Add a single .gitignore file at the repository root that covers the full stack used in this project:
- Node.js / npm:
node_modules/, dist/, coverage/, *.log
-
- React Native:
android/app/build/, ios/Pods/, *.apk, *.ipa
-
-
- Environment:
.env, .env.local
-
-
Acceptance Criteria
Problem
The repository currently has no root-level
.gitignorefile. As the project grows with multiple modules (poc-sync-engine,poc-frappe-api) and eventually the full React Native application, there is a direct risk of committing generated artifacts to version control.Without a
.gitignore, the following files can accidentally end up in the repository:node_modules/directories (hundreds of MBs of dependencies)dist/,coverage/,android/app/build/).env,.env.local).vscode/,.idea/).DS_Store,Thumbs.db)This increases repository size, slows down cloning for new contributors, and creates a risk of leaking sensitive credentials.
Proposed Solution
Add a single
.gitignorefile at the repository root that covers the full stack used in this project:node_modules/,dist/,coverage/,*.logandroid/app/build/,ios/Pods/,*.apk,*.ipa.env,.env.local.vscode/,.idea/.DS_Store,Thumbs.dbAcceptance Criteria
.gitignorefile exists