-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Description
Admin bulk import endpoint parsing CSV with validation and per-row error reporting.
Requirements and context
- Transaction per batch or clear partial failure semantics.
- Size limits.
Suggested execution
- Fork the repository and create a branch (example below).
- Implement changes in StreamPay-Backend (TypeScript / Express per
package.json). - Keep the service secure, tested, and documented; prefer small, reviewable PRs.
git checkout -b feature/batch-import-streams-csvImplementation targets
POST /api/v1/admin/streams/import.- Parser + row validator.
Tests and validation
-
Tests: mixed valid/invalid rows.
-
Run
npm testandnpm run lintinStreamPay-Backend. -
Cover edge cases; include test output and brief security notes in the PR description.
Guidelines
- Target minimum 95% test coverage on new or changed backend code (or justify gaps).
- Clear documentation (OpenAPI / README / inline docs as specified).
- Timeframe: 96 hours from assignment.
Example commit message
feat(backend): admin CSV batch import for streams
Reactions are currently unavailable