Skip to content

feat: add Redis caching and API hardening for user/admin flows - #3

Merged
devzeeh merged 4 commits into
developmentfrom
feat/cache
Sep 30, 2026
Merged

devzeeh merged 4 commits into
developmentfrom
feat/cache

Conversation

@devzeeh

@devzeeh devzeeh commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

This PR adds Redis-backed caching for dashboard and transaction endpoints to reduce repeated DB reads and improve response times.

…erver reliability

    - Enforce IsAuthorizedUser authorization checks across all user handlers
    - Dynamically evaluate JWT_SECRET from environment in auth package
    - Enforce fail-closed constant-time webhook validation and FOR UPDATE row locking in Xendit webhook
    - Safely initialize template pointer, HTTP timeouts, and CORS middleware in main.go
    - Configure database connection pool limits in database package
    - Fix rate limiter IP port extraction and add automatic memory cleanup ticker
    - Purge OTP immediately upon successful verification to prevent replay attacks
@devzeeh
devzeeh merged commit dd42013 into development Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant