Skip to content

feat: add health and email consumer#2

Merged
ObiFaith merged 26 commits into
devfrom
feat/add-health-and-email-consumer
Nov 13, 2025
Merged

feat: add health and email consumer#2
ObiFaith merged 26 commits into
devfrom
feat/add-health-and-email-consumer

Conversation

@ObiFaith

@ObiFaith ObiFaith commented Nov 11, 2025

Copy link
Copy Markdown
Owner

Description

Added health check endpoint and implemented the email consumer to handle incoming email notification events from RabbitMQ.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation updates
  • style: Code style/formatting changes
  • refactor: Code refactoring
  • perf: Performance improvements
  • test: Test additions/updates
  • chore: Build process or tooling changes
  • ci: CI configuration changes
  • other:

How Has This Been Tested?

  • Manual tests – verified health endpoint returns correct status and email messages are consumed and processed successfully.
  • Using RabbitMQ UI

Test Evidence

  • Microservice started without errors
  • RabbitMQ queue email.queue created successfully
  • PostgreSQL connection established

Screenshots (if applicable)

Screenshot 2025-11-11 115440 Screenshot 2025-11-11 115608 Screenshot 2025-11-11 115714

Checklist

  • My code follows the project's coding style
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published
  • I have included a screenshot showing all tests passing
  • I have included documentation screenshots (if applicable)

Additional Notes

This update establishes a basic health route for service monitoring and enables asynchronous email event handling through RabbitMQ.

Unwanted src/app.*.ts files are:
- src/app.sesrvice.ts
- src/app.controller.ts
- src/app.controller.spec.ts
Base automatically changed from chore/project-initial-setup to dev November 13, 2025 18:50
@ObiFaith
ObiFaith merged commit f0d8785 into dev Nov 13, 2025
1 check failed
@ObiFaith
ObiFaith deleted the feat/add-health-and-email-consumer branch November 13, 2025 19:22
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