package.json- Dependenciespackage-lock.json- Lock filevite.config.ts- Build configurationtsconfig.json- TypeScript configtsconfig.node.json- Node TypeScript configtailwind.config.js- Tailwind CSS configpostcss.config.js- PostCSS configindex.html- Main HTML file
src/- All source files (keep entire directory)public/- Public assets (keep entire directory)
README.md- Main documentationLICENSE- License file
.gitignore- Git ignore rulesnetlify.toml- Netlify config (if using)vercel.json- Vercel config (if using).github/workflows/- GitHub Actions (if exists)
dist/- Build output (regenerated on build)node_modules/- Dependencies (installed via npm)
*.bat- All batch files*.ps1- All PowerShell scripts*.txt- All text files (except README.txt if needed)*.html- Temporary HTML filesdownloads/- Downloads folder
Remove these duplicate documentation files:
BUILD_FIRST.txtCREATE_ICONS.txtDEPLOY.txtDEPLOYMENT_SUMMARY.txtDIAGNOSE.batEASIEST_WAY.txtEXPOSE_LOCAL.txtGITHUB_DEPLOY.txtHOST_ONLINE_NOW.txtHOW_TO_PREVIEW.txtINSTALL_NODEJS.txtMANUAL_START.txtNETLIFY_DEPLOY.txtQUICK_COMMANDS.txtQUICK_DEPLOY.txtREADME_PREVIEW.txtREVERT.txtSTART_HERE.txtSTEP_BY_STEP.txtTROUBLESHOOTING.txtVERCEL_DEPLOY.txtWHAT_TO_DO_NOW.txtbuild.bat,build-simple.batfix-localhost.batopen-preview.batpreview.batQUICK_HOST.batstart.bat,start-simple.battest-node.batpreview.htmlOPEN_THIS.htmlSIMPLE_START.html
Keep only these essential .md files:
README.md- Main documentationLICENSE- License
Optional (if you want to keep some):
GITHUB_PAGES_SETUP.md- GitHub deployment guideDEPLOYMENT_READY.md- Deployment checklist
Remove these duplicate .md files:
COMPREHENSIVE_APP_CHECK.mdCREATE_PWA_ICONS.mdDASHBOARD_ENHANCEMENTS.mdDEPLOY_GITHUB.mdDEPLOYMENT_COMPLETE.mdFINAL_ENHANCEMENTS_SUMMARY.mdFINAL_GITHUB_SETUP.mdGENERATE_NATIVE_APPS.mdGITHUB_PUBLISH_CHECKLIST.mdGITHUB_READY.mdMETA_TAGS_UPGRADE.mdMOBILE_COMPATIBILITY_GUIDE.mdPUBLISH_APP.mdPUBLISH_TO_GITHUB.mdQUALITY_ENHANCEMENTS.mdROLE_ACCESS_POLICY.mdSECURITY_AND_FEATURES_ANALYSIS.mdSETTINGS_INTEGRATION.mdSETUP_DIRECT_DOWNLOADS.mdTROUBLESHOOT_LOCALHOST.mdZAR_CURRENCY_UPDATE.md
- Update .gitignore (already done)
- Remove temporary files (bat, ps1, txt, html)
- Remove build artifacts (dist folder)
- Consolidate documentation (keep only README.md)
- Ensure node_modules is ignored
Application/
├── .github/
│ └── workflows/
│ └── deploy.yml
├── public/
│ ├── browserconfig.xml
│ ├── robots.txt
│ ├── sitemap.xml
│ └── vite.svg
├── src/
│ ├── components/
│ ├── pages/
│ ├── store/
│ ├── types/
│ ├── utils/
│ ├── App.tsx
│ ├── index.css
│ └── main.tsx
├── .gitignore
├── index.html
├── LICENSE
├── netlify.toml (optional)
├── package.json
├── package-lock.json
├── postcss.config.js
├── README.md
├── tailwind.config.js
├── tsconfig.json
├── tsconfig.node.json
├── vercel.json (optional)
└── vite.config.ts
This structure keeps only essential files and reduces repository size significantly.