Donation Penalty Module for React

Замовник: AI | Опубліковано: 20.01.2026

My production-ready React 18 + Redux Toolkit app already supports two entry points—one for admins and one for members—where study-group penalties accumulate when diary posts are missed. I now need a clean, well-tested donation flow that lets members offset those penalties. Phase one centres on the member experience: a secure uploader that accepts only PDF and JPEG/PNG files, shows progress, and ties each upload to the member’s current penalty balance. Word documents and any other formats should be rejected with a clear message. Once the upload path is stable, we will extend the API slice, add Redux entities for “PendingDonation” and “ApprovedDonation”, and build a simple moderation table where admins can open the file, approve or reject it, and watch the penalty total adjust automatically. I’d like to begin by framing crisp acceptance criteria together, then move through milestone-based delivery: • Milestone 1 – Acceptance criteria & technical blueprint • Milestone 2 – Member upload UI, validation, storage endpoint, unit tests • Milestone 3 – Admin review screen, approval logic, integration tests • Milestone 4 – Regression suite, documentation, hand-off TypeScript throughout, React Testing Library/Jest at a minimum; Cypress end-to-end tests are a plus. Please keep components modular, follow our existing ESLint/Prettier setup, and document any new environment variables. The sooner we can lock the first milestone, the faster the rest will fall into place.