Skip to content

Conversation

@ItsEricSun
Copy link
Contributor

Description

Created an endpoint that allows us to export donation information to a CSV format.

Changes Made

  • Backend changes
  • Frontend changes
  • Database schema changes
  • Configuration updates
  • Other

Testing & Verification

  • Unit tests pass
  • Manual testing completed
  • No breaking changes

Verification Steps:

When database has nothing:
image

When there is one donation:
image

Email cell has a comma (In CSV, there should be quotes around the email):
image

When there are multiple donations:
image

Screenshots (if relevant)

Future Improvements/Notes

Add in restricting the endpoint to Admins only.

Related Issues

Closes #44

@ItsEricSun ItsEricSun self-assigned this Jan 27, 2026
Copy link
Collaborator

@aaronashby aaronashby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Only thing I commented on was the role authorization

@aaronashby aaronashby dismissed their stale review January 27, 2026 21:23

Forgot bew was working on auth, my fault 😅

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.

Create Endpoint for Exporting Donation Data to CSV

4 participants