Skip to content

Latest commit

Β 

History

History
91 lines (73 loc) Β· 2.89 KB

File metadata and controls

91 lines (73 loc) Β· 2.89 KB

KeycodeHelp Project Structure

πŸ“ Directory Organization

KeycodeHelpDev1-1/
β”œβ”€β”€ πŸ“ kch-backend/           # Spring Boot backend application
β”‚   β”œβ”€β”€ src/main/java/        # Java source code (125 files)
β”‚   β”œβ”€β”€ src/main/resources/   # Configuration files
β”‚   β”œβ”€β”€ target/               # Build output (auto-generated)
β”‚   └── pom.xml              # Maven configuration
β”œβ”€β”€ πŸ“ kch-frontend/          # React frontend application
β”‚   β”œβ”€β”€ src/                  # React source code
β”‚   β”‚   β”œβ”€β”€ components/       # React components (37 files)
β”‚   β”‚   β”œβ”€β”€ pages/            # Page components (38 files)
β”‚   β”‚   β”œβ”€β”€ services/         # API services (6 files)
β”‚   β”‚   └── utils/            # Utility functions (8 files)
β”‚   β”œβ”€β”€ public/               # Static assets (1265+ files)
β”‚   β”œβ”€β”€ scripts/              # Frontend-specific scripts
β”‚   └── package.json          # Node.js dependencies
β”œβ”€β”€ πŸ“ scripts/               # Shell scripts and automation
β”‚   β”œβ”€β”€ start-dev.sh         # Start development environment
β”‚   β”œβ”€β”€ stop-dev.sh          # Stop development environment
β”‚   └── kill-ports.sh        # Kill processes on ports
β”œβ”€β”€ πŸ“ docs/                  # Documentation and guides (67 files)
β”‚   β”œβ”€β”€ clear-browser-cache.md
β”‚   β”œβ”€β”€ clear-cache-commands.md
β”‚   β”œβ”€β”€ PRODUCTION_SUPABASE_FIX.md
β”‚   └── force-clear-cache.html
β”œβ”€β”€ πŸ“ sql_files/             # Database scripts (43 files)
β”œβ”€β”€ πŸ“ Dev images/            # Development images (50+ files)
β”œβ”€β”€ .gitignore               # Git ignore rules (updated)
β”œβ”€β”€ LICENSE                  # Project license
β”œβ”€β”€ PROJECT_STRUCTURE.md     # This file
└── CLEANUP_PLAN.md          # Cleanup documentation

πŸš€ Quick Start

First Time Setup

# Fix script permissions (run once)
chmod +x scripts/*.sh

# Or run the permission fix script
chmod +x fix-permissions.sh && ./fix-permissions.sh

Development Environment

# Start both backend and frontend
./scripts/start-dev.sh

# Stop development environment
./scripts/stop-dev.sh

# Kill processes on ports 8080 and 5173
./scripts/kill-ports.sh

Backend (Spring Boot)

cd kch-backend
mvn spring-boot:run

Frontend (React + Vite)

cd kch-frontend
npm run dev

πŸ”§ Configuration

  • Backend: kch-backend/src/main/resources/application.properties
  • Frontend: kch-frontend/.env.production
  • Database: Supabase PostgreSQL
  • Deployment:
    • Backend: Render.com
    • Frontend: Vercel.com

πŸ“ Notes

  • All shell scripts are organized in the scripts/ directory
  • Documentation is centralized in the docs/ directory
  • Logs are stored in the logs/ directory
  • The .history/ folder (Cursor IDE local history) has been removed to reduce clutter