Skip to content

feat(backend): webhooks delivery log + analytics modules - #1127

Merged
Akanimoh12 merged 1 commit into
Akanimoh12:test-implement-dripsfrom
Marvy247:feat/issues-1001-1002-1008-1009
Jul 26, 2026
Merged

feat(backend): webhooks delivery log + analytics modules#1127
Akanimoh12 merged 1 commit into
Akanimoh12:test-implement-dripsfrom
Marvy247:feat/issues-1001-1002-1008-1009

Conversation

@Marvy247

Copy link
Copy Markdown
Contributor

Implements 4 issues:

Changes

Webhooks module (backend/src/modules/webhooks/)

  • GET /webhooks/deliveries - list deliveries with pagination + filter by subscriptionId and status
  • GET /webhooks/deliveries/:id - get single delivery
  • Unit tests with mocked Prisma

Analytics module (backend/src/modules/analytics/)

  • GET /analytics/volume - tip volume time-series with day/week/month granularity + date range
  • GET /analytics/top-tippers - top tippers ranked by total stroops, paginated
  • Unit tests with mocked Prisma

Both routers mounted in app.ts under env.API_BASE_PATH. All 12 tests passing.

Implements:
- Akanimoh12#1001 - Webhooks: Webhook delivery log endpoint (GET /webhooks/deliveries, GET /webhooks/deliveries/:id)
- Akanimoh12#1002 - Webhooks: Webhooks module tests
- Akanimoh12#1008 - Analytics: Tip volume time-series endpoint (GET /analytics/volume)
- Akanimoh12#1009 - Analytics: Top tippers endpoint (GET /analytics/top-tippers)

Mounts both routers in app.ts under env.API_BASE_PATH.
@Marvy247
Marvy247 force-pushed the feat/issues-1001-1002-1008-1009 branch from 127db9a to fdc1d5f Compare July 26, 2026 14:41
@drips-wave

drips-wave Bot commented Jul 26, 2026

Copy link
Copy Markdown

@Marvy247 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

@Akanimoh12
Akanimoh12 merged commit 37784ff into Akanimoh12:test-implement-drips Jul 26, 2026
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

2 participants