You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(backend): add helmet security headers, deep health endpoint, graceful shutdown, and contributing guide
- feat(security): integrate helmet middleware with CSP configured for API-only responses
- feat(health): add GET /api/health/deep endpoint with per-component status checks
- Checks SQLite database reachability and read/write capability
- Verifies Soroban RPC endpoint accessibility
- Validates CONTRACT_ID configuration
- Returns 503 if any critical component is down
- feat(shutdown): implement graceful shutdown handling for SIGTERM/SIGINT signals
- 10-second grace period for in-flight requests to complete
- New requests receive 503 Service Unavailable during shutdown
- Explicit database connection closure before exit
- docs(contributing): expand CONTRIBUTING.md with detailed backend setup section
- Node.js and npm prerequisites
- Environment variable configuration guide
- Development server startup instructions
- Test running (watch mode and coverage)
- Database seeding and troubleshooting guide
- deps: add helmet package for security headers
- test(security): add comprehensive tests for helmet headers and deep health endpoint
0 commit comments