Some checks failed
CI/CD Pipeline / Backend Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Tests (push) Has been cancelled
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
This commit removes obsolete, duplicate, and legacy files that have accumulated
over the course of development. The repository is now focused on the current
Auth0-based, NestJS/React implementation.
Files Removed:
1. Old Backup Directories (150+ files)
- backend-old-20260125/ (entire directory)
- frontend-old-20260125/ (entire directory)
These should never have been committed to version control.
2. Obsolete Authentication Documentation (12 files)
- KEYCLOAK_INTEGRATION_COMPLETE.md
- KEYCLOAK_SETUP.md
- SUPABASE_MIGRATION.md
- GOOGLE_OAUTH_*.md (4 files)
- OAUTH_*.md (3 files)
- auth0-action.js
- auth0-signup-form.json
We are using Auth0 only - these docs are no longer relevant.
3. Legacy Deployment Files (15 files)
- DOCKER_HUB_*.md (3 files)
- STANDALONE_INSTALL.md
- UBUNTU_INSTALL.md
- SIMPLE_DEPLOY.md
- deploy.sh, simple-deploy.sh, standalone-setup.sh
- setup.sh, setup.ps1
- docker-compose.{hub,prod,test}.yml
- Dockerfile.e2e
- install.md
These deployment approaches were abandoned.
4. Legacy Populate Scripts (12 files)
- populate-events*.{js,sh} (4 files)
- populate-test-data.{js,sh}
- populate-vips.js
- quick-populate-events.sh
- update-departments.js
- reset-database.ps1
- test-*.js (2 files)
All replaced by Prisma seed (backend/prisma/seed.ts).
5. Implementation Status Docs (16 files)
- BUILD_STATUS.md
- NAVIGATION_UX_IMPROVEMENTS.md
- NOTIFICATION_BADGE_IMPLEMENTATION.md
- DATABASE_MIGRATION_SUMMARY.md
- DOCUMENTATION_CLEANUP_SUMMARY.md
- PERMISSION_ISSUES_FIXED.md
Historical implementation notes - no longer needed.
6. Duplicate/Outdated Documentation (10 files)
- PORT_3000_SETUP_GUIDE.md
- POSTGRESQL_USER_MANAGEMENT.md
- REVERSE_PROXY_OAUTH_SETUP.md
- WEB_SERVER_PROXY_SETUP.md
- SIMPLE_USER_MANAGEMENT.md
- USER_MANAGEMENT_RECOMMENDATIONS.md
- ROLE_BASED_ACCESS_CONTROL.md
- README-API.md
Information already covered in main README.md and CLAUDE.md.
7. Old API Documentation (2 files)
- api-docs.html
- api-documentation.yaml
Outdated - API has changed significantly.
8. Environment File Duplicates (2 files)
- .env.prod
- .env.production
Redundant with .env.example.
Updated .gitignore:
- Added patterns to prevent future backup directory commits
- Added *-old-*, backend-old*, frontend-old*
Impact:
- Removed 273 files
- Reduced repository size significantly
- Cleaner, more navigable codebase
- Easier onboarding for new developers
Current Documentation:
- README.md - Main documentation
- CLAUDE.md - AI context and development guide
- REQUIREMENTS.md - Requirements
- CASL_AUTHORIZATION.md - Current auth system
- ERROR_HANDLING.md - Error handling patterns
- QUICKSTART.md - Quick start guide
- DEPLOYMENT.md - Deployment guide
- TESTING*.md - Testing guides
- SETUP_GUIDE.md - Setup instructions
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
88 lines
1008 B
Plaintext
88 lines
1008 B
Plaintext
# Environment files with sensitive data
|
|
.env.prod
|
|
.env.production
|
|
backend/.env
|
|
|
|
# Node modules
|
|
node_modules/
|
|
backend/node_modules/
|
|
frontend/node_modules/
|
|
|
|
# Build outputs
|
|
backend/dist/
|
|
frontend/dist/
|
|
frontend/build/
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Coverage directory used by tools like istanbul
|
|
coverage/
|
|
|
|
# nyc test coverage
|
|
.nyc_output
|
|
|
|
# Dependency directories
|
|
jspm_packages/
|
|
|
|
# Optional npm cache directory
|
|
.npm
|
|
|
|
# Optional REPL history
|
|
.node_repl_history
|
|
|
|
# Output of 'npm pack'
|
|
*.tgz
|
|
|
|
# Yarn Integrity file
|
|
.yarn-integrity
|
|
|
|
# dotenv environment variables file
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# IDE files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Docker
|
|
.dockerignore
|
|
|
|
# Backup files
|
|
*backup*
|
|
*.bak
|
|
*.tmp
|
|
*-old-*
|
|
backend-old*
|
|
frontend-old*
|
|
|
|
# Database files
|
|
*.sqlite
|
|
*.db
|
|
|
|
# Redis dump
|
|
dump.rdb |