- Add validateCreateJobRequest() checking required fields (companyId,
title ≥5 chars, description ≥20 chars) and enum values
(employmentType, workMode, status) before hitting the DB
- Catch *pq.Error in handler: check_violation (23514) and
foreign_key_violation (23503) now return 400; unique_violation (23505)
returns 409; other DB errors return 500 without leaking raw pq messages
- Fix test fixtures: description and companyId now meet validation
requirements
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add new test files for handlers (storage, payment, settings)
- Add new test files for services (chat, email, storage, settings, admin)
- Add integration tests for services
- Update handler implementations with bug fixes
- Add coverage reports and test documentation
- Fix CreateJob 500 error by extracting user ID correctly
- Secure Create/Update/Delete Job routes with AuthGuard
- Fix Notifications/Tickets/Profile 500 error (UUID vs Int mismatch)
- Add E2E test for CreateJob