1 Commits

Author SHA1 Message Date
defiQUG
c32fcf48e8 Add authentication and idempotency middleware, implement graceful shutdown, and update dependencies
- Introduced `authMiddleware` for request authentication and `optionalAuthMiddleware` for optional authentication.
- Added `idempotencyMiddleware` to ensure idempotent requests are processed correctly, including Redis caching.
- Implemented graceful shutdown for the REST API server to close Redis connections on termination signals.
- Updated `package.json` to include `jsonwebtoken` and its type definitions.
2025-12-12 11:17:59 -08:00