flow-pie / flow-pie/chamaa.api

Create Contributions Endpoint

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
HTML
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Develop a POST /api/v1/contributions endpoint for recording member contributions.
Requirements:

Request body:

{
"member_id": "uuid",
"amount": "number",
"date": "ISO8601 string"
}

Validate that member_id exists

Auto-generate contribution reference (e.g. CHM-2025-0001)

Return created contribution details

Add authentication middleware

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.