Add comprehensive .gitignore file

- Add Python cache files (*.pyc, __pycache__/)
- Add environment files (.env, .env.local, etc.)
- Add database files (*.db, *.sqlite)
- Add IDE files (.vscode/, .idea/)
- Add OS files (.DS_Store, Thumbs.db)
- Add Node.js files (node_modules/, build/)
- Add logs, temporary files, and credentials
- Add test files and coverage reports
- Add virtual environments and lock files
- Comprehensive coverage for Python/FastAPI/React project
This commit is contained in:
ajaysi
2025-09-23 19:47:19 +05:30
parent ca0463b826
commit 67cf1f3e34

140
.gitignore vendored Normal file
View File

@@ -0,0 +1,140 @@
# Python cache files
__pycache__/
*/__pycache__/
**/__pycache__/
*.pyc
*.pyo
*.pyd
# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
backend/.env
frontend/.env
# Database files
*.db
*.sqlite
*.sqlite3
backend/alwrity.db
backend/content_cache.db
backend/outline_cache.db
backend/research_cache.db
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Node.js (for frontend)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Build directories
build/
dist/
*.egg-info/
# Logs
*.log
logs/
# Temporary files
*.tmp
*.temp
# Coverage reports
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Virtual environments
venv/
env/
ENV/
.venv/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# pipenv
Pipfile.lock
# PEP 582
__pypackages__/
# Celery
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# Credentials and secrets
gsc_credentials.json
*.pem
*.key
*.crt
# Test files
test_*.py
*_test.py
tests/
# Documentation build
docs/_build/
# Backup files
*.bak
*.backup
*.orig
# Lock files
package-lock.json
yarn.lock
Pipfile.lock
# Cache directories
.cache/
.pytest_cache/