Skip to content

feat(health): add postgres redis and queue dependency checks#712

Open
mijinummi wants to merge 1 commit into
Stellar-Uzima:mainfrom
mijinummi:feat/671-dependency-health-checks
Open

feat(health): add postgres redis and queue dependency checks#712
mijinummi wants to merge 1 commit into
Stellar-Uzima:mainfrom
mijinummi:feat/671-dependency-health-checks

Conversation

@mijinummi
Copy link
Copy Markdown
Contributor

@mijinummi mijinummi commented May 30, 2026

🎯 Summary

Closes #671
Implements comprehensive application health checks using @nestjs/terminus to enable orchestrators, load balancers, and monitoring systems to verify service readiness.

The new /health endpoint validates:

PostgreSQL connectivity
Redis connectivity
Queue service connectivity
Overall application health

The endpoint returns detailed dependency status information and correctly reports degraded service conditions when any dependency becomes unavailable.

closes #672

Implements scheduled reminder jobs for user engagement and retention.

The scheduler automatically:

Sends coupon expiry reminders 24 hours before expiration
Sends daily digests for incomplete/pending tasks
Uses the existing notification infrastructure for delivery
Supports configurable cron schedules
Includes comprehensive unit tests

This provides proactive user communication and helps improve coupon redemption rates while reducing forgotten tasks.

Closes #673

Implements admin-controlled healer role management APIs, allowing authorized administrators to:

Assign healer roles to users
Revoke healer roles from users
Record all role changes in the audit trail
Prevent unauthorized role modifications

This removes the need for direct database intervention when onboarding or managing healthcare professionals.

Closes #657

Adds a user profile update endpoint that allows authenticated users to modify their personal information after registration.

The implementation includes:

Profile update API endpoint
DTO validation
User service update logic
Unit tests
Proper ownership enforcement (users can only update their own profile)

This enables users to keep healthcare-related contact information current.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@mijinummi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant