|
| 1 | +# ============================================================================ |
| 2 | +# Python |
| 3 | +# ============================================================================ |
| 4 | +# Byte-compiled / optimized / DLL files |
| 5 | +__pycache__/ |
| 6 | +*.py[cod] |
| 7 | +*$py.class |
| 8 | +*.so |
| 9 | + |
| 10 | +# Virtual environments |
| 11 | +venv/ |
| 12 | +env/ |
| 13 | +ENV/ |
| 14 | +.venv/ |
| 15 | +env.bak/ |
| 16 | +venv.bak/ |
| 17 | +.conda/ |
| 18 | + |
| 19 | +# Distribution / packaging |
| 20 | +.Python |
| 21 | +build/ |
| 22 | +develop-eggs/ |
| 23 | +dist/ |
| 24 | +downloads/ |
| 25 | +eggs/ |
| 26 | +.eggs/ |
| 27 | +lib/ |
| 28 | +lib64/ |
| 29 | +parts/ |
| 30 | +sdist/ |
| 31 | +var/ |
| 32 | +wheels/ |
| 33 | +*.egg-info/ |
| 34 | +.installed.cfg |
| 35 | +*.egg |
| 36 | +MANIFEST |
| 37 | + |
| 38 | +# Unit test / coverage reports |
| 39 | +htmlcov/ |
| 40 | +.tox/ |
| 41 | +.nox/ |
| 42 | +.coverage |
| 43 | +.coverage.* |
| 44 | +.cache |
| 45 | +nosetests.xml |
| 46 | +coverage.xml |
| 47 | +*.cover |
| 48 | +*.py,cover |
| 49 | +.hypothesis/ |
| 50 | +.pytest_cache/ |
| 51 | +cover/ |
| 52 | +.pytest_cache/ |
| 53 | + |
| 54 | +# mypy |
| 55 | +.mypy_cache/ |
| 56 | +.dmypy.json |
| 57 | +dmypy.json |
| 58 | + |
| 59 | +# ============================================================================ |
| 60 | +# Environment & Configuration |
| 61 | +# ============================================================================ |
| 62 | +# Environment files |
| 63 | +.env |
| 64 | +.env.* |
| 65 | +.env.local |
| 66 | +.env.development |
| 67 | +.env.test |
| 68 | +.env.production |
| 69 | +.env.staging |
| 70 | +*.env |
| 71 | + |
| 72 | +# ============================================================================ |
| 73 | +# Logs & Temporary Files |
| 74 | +# ============================================================================ |
| 75 | +logs/ |
| 76 | +*.log |
| 77 | +*.log.* |
| 78 | +api/logs/ |
| 79 | +*.tmp |
| 80 | +*.temp |
| 81 | +temp/ |
| 82 | +tmp/ |
| 83 | + |
| 84 | +# ============================================================================ |
| 85 | +# OS Files |
| 86 | +# ============================================================================ |
| 87 | +# macOS |
| 88 | +.DS_Store |
| 89 | +.AppleDouble |
| 90 | +.LSOverride |
| 91 | +Icon |
| 92 | +._* |
| 93 | +.DocumentRevisions-V100 |
| 94 | +.fseventsd |
| 95 | +.Spotlight-V100 |
| 96 | +.TemporaryItems |
| 97 | +.Trashes |
| 98 | +.VolumeIcon.icns |
| 99 | +.com.apple.timemachine.donotpresent |
| 100 | +.AppleDB |
| 101 | +.AppleDesktop |
| 102 | +Network Trash Folder |
| 103 | +Temporary Items |
| 104 | +.apdisk |
| 105 | + |
| 106 | +# Windows |
| 107 | +Thumbs.db |
| 108 | +Thumbs.db:encryptable |
| 109 | +ehthumbs.db |
| 110 | +ehthumbs_vista.db |
| 111 | +*.stackdump |
| 112 | +[Dd]esktop.ini |
| 113 | +$RECYCLE.BIN/ |
| 114 | +*.cab |
| 115 | +*.msi |
| 116 | +*.msix |
| 117 | +*.msm |
| 118 | +*.msp |
| 119 | +*.lnk |
| 120 | + |
| 121 | +# Linux |
| 122 | +*~ |
| 123 | +.fuse_hidden* |
| 124 | +.directory |
| 125 | +.Trash-* |
| 126 | +.nfs* |
| 127 | + |
| 128 | +# ============================================================================ |
| 129 | +# IDE & Editors |
| 130 | +# ============================================================================ |
| 131 | +# VSCode |
| 132 | +.vscode/ |
| 133 | +*.code-workspace |
| 134 | + |
| 135 | +# PyCharm |
| 136 | +.idea/ |
| 137 | +*.iml |
| 138 | +*.iws |
| 139 | +*.ipr |
| 140 | + |
| 141 | +# Sublime Text |
| 142 | +*.sublime-project |
| 143 | +*.sublime-workspace |
| 144 | +*.sublime-* |
| 145 | + |
| 146 | +# Vim |
| 147 | +*.swp |
| 148 | +*.swo |
| 149 | +*~ |
| 150 | +.netrwhist |
| 151 | + |
| 152 | +# Emacs |
| 153 | +\#*\# |
| 154 | +/.emacs.desktop |
| 155 | +/.emacs.desktop.lock |
| 156 | +*.elc |
| 157 | +auto-save-list |
| 158 | +tramp |
| 159 | +.\#* |
| 160 | + |
| 161 | +# ============================================================================ |
| 162 | +# Git |
| 163 | +# ============================================================================ |
| 164 | +.git/ |
| 165 | +.gitignore |
| 166 | +.gitattributes |
| 167 | +.gitmodules |
| 168 | +.gitkeep |
| 169 | +.github/ |
| 170 | + |
| 171 | +# ============================================================================ |
| 172 | +# Docker |
| 173 | +# ============================================================================ |
| 174 | +Dockerfile* |
| 175 | +docker-compose*.yml |
| 176 | +docker-compose*.yaml |
| 177 | +.dockerignore |
| 178 | +.docker/ |
| 179 | +docker-data/ |
| 180 | + |
| 181 | +# ============================================================================ |
| 182 | +# CI/CD |
| 183 | +# ============================================================================ |
| 184 | +.gitlab-ci.yml |
| 185 | +.travis.yml |
| 186 | +.circleci/ |
| 187 | +.github/workflows/ |
| 188 | +.gitlab/ |
| 189 | +Jenkinsfile |
| 190 | +azure-pipelines.yml |
| 191 | + |
| 192 | +# ============================================================================ |
| 193 | +# Documentation |
| 194 | +# ============================================================================ |
| 195 | +# Exclude documentation from Docker image (reduce size) |
| 196 | +*.md |
| 197 | +docs/ |
| 198 | +README.md |
| 199 | +README*.md |
| 200 | +QUICKSTART.md |
| 201 | +PROJECT_STRUCTURE.md |
| 202 | +CHANGELOG.md |
| 203 | +LICENSE |
| 204 | +LICENSE.txt |
| 205 | + |
| 206 | +# ============================================================================ |
| 207 | +# Testing |
| 208 | +# ============================================================================ |
| 209 | +# Test files (not needed in production image) |
| 210 | +*.test.py |
| 211 | +*_test.py |
| 212 | +test_*.py |
| 213 | +tests/ |
| 214 | +test/ |
| 215 | +__tests__/ |
| 216 | +*.spec.js |
| 217 | +*.test.js |
| 218 | +test-*.js |
| 219 | +spec/ |
| 220 | +.pytest_cache/ |
| 221 | +.coverage |
| 222 | +htmlcov/ |
| 223 | +.tox/ |
| 224 | +.hypothesis/ |
| 225 | + |
| 226 | +# ============================================================================ |
| 227 | +# Credentials & Secrets |
| 228 | +# ============================================================================ |
| 229 | +# Block all credential files (use environment variables or mounted volumes) |
| 230 | +**/*.json |
| 231 | +# Allow specific exceptions (order matters - negations must come after) |
| 232 | +!package*.json |
| 233 | +!package-lock.json |
| 234 | +!tsconfig*.json |
| 235 | +!*.config.json |
| 236 | +# Allow credentials folder structure but block sensitive files |
| 237 | +!credentials/ |
| 238 | +**/credentials/*.json |
| 239 | +**/credentials/*.pem |
| 240 | +**/credentials/*.key |
| 241 | +**/credentials/*.crt |
| 242 | +**/credentials/*.plist |
| 243 | +**/credentials/*.p12 |
| 244 | +**/credentials/*.pfx |
| 245 | +# Allow template files |
| 246 | +!**/credentials/*.example.json |
| 247 | +!**/credentials/*.template.json |
| 248 | +!**/credentials/google-backend-master copy.json |
| 249 | + |
| 250 | +# ============================================================================ |
| 251 | +# Node.js (if used for build tools) |
| 252 | +# ============================================================================ |
| 253 | +node_modules/ |
| 254 | +npm-debug.log* |
| 255 | +yarn-debug.log* |
| 256 | +yarn-error.log* |
| 257 | +lerna-debug.log* |
| 258 | +.pnpm-debug.log* |
| 259 | +.npm |
| 260 | +.eslintcache |
| 261 | +.node_repl_history |
| 262 | +*.tgz |
| 263 | +.yarn-integrity |
| 264 | +.yarn/ |
| 265 | +.pnp.* |
| 266 | + |
| 267 | +# ============================================================================ |
| 268 | +# Build Artifacts |
| 269 | +# ============================================================================ |
| 270 | +dist/ |
| 271 | +build/ |
| 272 | +*.egg-info/ |
| 273 | +*.whl |
| 274 | +*.tar.gz |
| 275 | +*.map |
| 276 | +*.min.js |
| 277 | +*.min.css |
| 278 | + |
| 279 | +# ============================================================================ |
| 280 | +# Database Files |
| 281 | +# ============================================================================ |
| 282 | +# Local database files (use container volumes instead) |
| 283 | +*.db |
| 284 | +*.sqlite |
| 285 | +*.sqlite3 |
| 286 | +*.db-journal |
| 287 | + |
| 288 | +# ============================================================================ |
| 289 | +# Cache & Temporary |
| 290 | +# ============================================================================ |
| 291 | +.cache/ |
| 292 | +.npm/ |
| 293 | +.yarn/ |
| 294 | +.pip/ |
| 295 | +*.pyc |
| 296 | +*.pyo |
| 297 | +*.pyd |
| 298 | +__pycache__/ |
| 299 | + |
| 300 | +# ============================================================================ |
| 301 | +# Application Specific |
| 302 | +# ============================================================================ |
| 303 | +# Uploads and user-generated content (use volumes) |
| 304 | +uploads/ |
| 305 | +media/ |
| 306 | +static/uploads/ |
| 307 | +static/media/ |
| 308 | + |
| 309 | +# Alembic - keep structure but exclude cache |
| 310 | +alembic/__pycache__/ |
| 311 | +alembic/versions/__pycache__/ |
| 312 | + |
| 313 | +# ============================================================================ |
| 314 | +# Misc |
| 315 | +# ============================================================================ |
| 316 | +# Editor configs |
| 317 | +.editorconfig |
| 318 | +.eslintrc* |
| 319 | +.prettierrc* |
| 320 | +.stylelintrc* |
| 321 | + |
| 322 | +# Backup files |
| 323 | +*.bak |
| 324 | +*.backup |
| 325 | +*.old |
| 326 | +*.orig |
| 327 | + |
| 328 | +# Archive files |
| 329 | +*.zip |
| 330 | +*.tar |
| 331 | +*.tar.gz |
| 332 | +*.rar |
| 333 | +*.7z |
| 334 | + |
| 335 | +# Prisma (if used) |
| 336 | +prisma/generated/ |
| 337 | +src/generated/prisma |
| 338 | + |
| 339 | +# ============================================================================ |
| 340 | +# Keep Important Files |
| 341 | +# ============================================================================ |
| 342 | +# These files should be included in Docker image |
| 343 | +# (Don't add them here - this section is just for reference) |
| 344 | +# - requirements.txt |
| 345 | +# - server.py |
| 346 | +# - start.sh |
| 347 | +# - Dockerfile |
| 348 | +# - alembic.ini |
| 349 | +# - alembic/versions/*.py (migration files) |
| 350 | +# - src/ (source code) |
| 351 | +# - router/ (API routes) |
0 commit comments