3 Commits
Author SHA1 Message Date
DeveloperandClaude Opus 4.6 59cec7e29e chore: ignore database and upload files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 11:36:18 +08:00
DeveloperandClaude Opus 4.6 335f0fb8dc perf: add rate limiting, validation, logging, and error handling
- Add express-rate-limit with tiered rate limits per endpoint
- Add express-validator for input validation on all API routes
- Add winston + morgan for structured logging
- Add node-cache for lottery result caching (5min TTL, 1000 max keys)
- Convert OCR to async task queue with max 2 concurrent jobs
- Add global error handler middleware
- Add React ErrorBoundary for client-side error handling
- Fix memory leaks in OCR task queue and lottery cache
- Add per-item error handling in batch ticket updates
- Fix SQL UPDATE to include user_id in WHERE clause

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 11:35:12 +08:00
DeveloperandClaude Opus 4.6 7b1073e23b Initial commit: lottery project structure
Add core project files including:
- Client and server directories
- Backup script
- Package configuration
- Git ignore rules

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:26:49 +08:00