Created
February 7, 2025 07:23
-
-
Save joe-oli/1b2c752bbbac0a1bc189333a99be4453 to your computer and use it in GitHub Desktop.
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
# Node.js dependencies | |
/node_modules/ | |
/ui/node_modules/ | |
/ui/client/node_modules/ | |
# Build outputs | |
/dist/ | |
/ui/client/build/ | |
/ui/client/.next/ | |
/out/ | |
# Environment variables | |
.env | |
.env.local | |
/ui/client/.env | |
# Logs and debugging | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
pnpm-debug.log* | |
.vscode/ | |
*.swp | |
# TypeScript build artifacts | |
*.tsbuildinfo | |
/ui/client/.turbo/ | |
# IDE & Editor files | |
/.idea/ | |
/.vscode/ | |
/*.suo | |
/*.ntvs* | |
/*.njsproj | |
/*.sln.cache | |
# ASP.NET Core bin/obj folders | |
/server/**/bin/ | |
/server/**/obj/ | |
# ASP.NET Core user secrets | |
/server/**/appsettings.Development.json | |
# EF Core migrations | |
/server/**/Migrations/ | |
# ASP.NET Core publish outputs | |
/server/**/wwwroot/ | |
# Coverage and test reports | |
/coverage/ | |
/server/**/TestResults/ | |
/server/**/coverage/ | |
# Ignore global package managers lockfiles | |
/package-lock.json | |
/ui/package-lock.json | |
/ui/client/package-lock.json | |
/yarn.lock | |
/ui/yarn.lock | |
/ui/client/yarn.lock | |
/pnpm-lock.yaml | |
/ui/pnpm-lock.yaml | |
/ui/client/pnpm-lock.yaml | |
# Others | |
.DS_Store | |
Thumbs.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above
.gitignore
file covers both React (TypeScript) and ASP.NET Core (Visual Studio):This setup ensures:
node_modules/
anddist/
are ignored for the React frontend.bin/
andobj/
folders are ignored for ASP.NET Core.appsettings.Development.json
are ignored.YAY! 🚀