MOCK Test Backend Enhancements

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

I already have a working mock-test backend (tech stack details will be shared in chat), but the authoring experience needs a serious upgrade, starting with paragraph-based questions. The immediate goal is to let me store one reading passage and then attach multiple MCQs to it in the admin panel. This linkage will be predefined by me in the admin interface and, by design, will stay locked afterward—content creators will see the association but won’t be able to change it. Once that core feature is solid, I also want to: • accept images in both the stem and, when required, in the answer choices, • handle mixed batches of questions through Excel/CSV uploads (standard, paragraph-based, and image-based in the same file), • validate every row and return clear, actionable error messages, • save images either locally or to an S3-compatible bucket, then serve them efficiently through the existing API. Deliverables I need from you: 1. Database and model updates for storing passages, their linked MCQs, and image metadata. 2. Admin-panel screens (or React components, if we’re using a separate frontend) to create the passage, add its questions, and preview the final layout. 3. Bulk-upload parser with validation and rollback on failure. 4. REST/GraphQL endpoints and updated Swagger/Postman collection reflecting the new entities. 5. Brief deployment notes so I can flip a feature flag on staging and put it into production with confidence. Code quality, unit tests on the parsing logic, and concise inline docs are expected. I will run the deliverables locally first, then on our staging server; payment is released after the test suite passes and the admin authoring flow works end-to-end.