Skip to content

feat(webhooks): implement webhook registration and event dispatch system - #341

Merged
yusuftomilola merged 2 commits into
DistinctCodes:mainfrom
godwinameh:godwinameh
Oct 3, 2025
Merged

feat(webhooks): implement webhook registration and event dispatch system#341
yusuftomilola merged 2 commits into
DistinctCodes:mainfrom
godwinameh:godwinameh

Conversation

@godwinameh

Copy link
Copy Markdown
Contributor

Implemented webhook registration and event dispatch system:

  • Added Webhook entity with url, eventType, and isActive fields
  • Created DTOs for webhook registration
  • Implemented WebhooksService with register and triggerEvent logic
  • Exposed POST /webhooks and GET /webhooks endpoints
  • Added event listener to fire HTTP POST when asset.created event occurs

Next steps (optional future improvements):

  • Add retry mechanism for failed webhook deliveries
  • Add HMAC signature security
  • Add webhook delivery logs

@vercel

vercel Bot commented Oct 3, 2025

Copy link
Copy Markdown

@godwinameh is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola
yusuftomilola merged commit 3025aa3 into DistinctCodes:main Oct 3, 2025
4 of 5 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.

2 participants