Skip to content

Implement project analytics functionality - #81

Closed
LaGodxy wants to merge 0 commit into
Dfunder:mainfrom
LaGodxy:feature/project-analytics
Closed

Implement project analytics functionality#81
LaGodxy wants to merge 0 commit into
Dfunder:mainfrom
LaGodxy:feature/project-analytics

Conversation

@LaGodxy

@LaGodxy LaGodxy commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Description

This PR introduces a project-specific analytics endpoint that provides creators and admins with detailed insights into project performance and funding activity.

Key Features:

  • Added GET /projects/:id/analytics endpoint for project-level insights

  • Enforced access control (only project creator or admin can access)

  • Calculated comprehensive analytics including:

    • Total donations
    • Unique donors
    • Donation trends (daily/weekly breakdown)
    • Top donors (with optional anonymization)
    • Funding velocity (rate of donations over time)
  • Added support for date range filters to refine analytics queries

  • Ensured data accuracy by sourcing metrics from blockchain records

This improves transparency for creators and provides actionable insights into project performance.


Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Test addition/improvement

Checklist

  • I have run npm run build successfully with no errors
  • I have run npm test and all tests pass
  • If I added new test files, they all pass
  • My code follows the project's style guidelines
  • I have performed a self-review of my code

CI/CD Requirements

The following checks will run automatically on this PR:

  1. Build Check - Ensures the project builds successfully
  2. Test Check - Ensures all tests pass (including any new test files)

Screenshots (if applicable)

N/A


closes #75

@drips-wave

drips-wave Bot commented Mar 24, 2026

Copy link
Copy Markdown

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

@LaGodxy LaGodxy closed this Mar 24, 2026
@LaGodxy
LaGodxy force-pushed the feature/project-analytics branch from b0d98ef to 96e717c Compare March 24, 2026 14:12
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.

Implement Project Analytics Endpoint

1 participant