Finalize MVP: auth/session, courses, lessons, quiz & progress (stabilize backend + implement frontend)#13
Merged
BryanSeidy merged 1 commit intodevelopfrom Apr 24, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
backend/bootstrap/app.php(codesvalidation_error,unauthenticated,already_enrolled,server_error), et ajout de throttlingthrottle:10,1surPOST /api/auth/registeretPOST /api/auth/login.ProgressController(markLessonCompleted,showCourseProgress) et correction des modèles/relations (Questionfields ->quiz_id/question_text, suppression depdf_filedeLesson::$fillable, correction des résolutionsquiz -> lesson -> module -> coursedansAttemptController).backend/tests/Feature/AuthApiTest.php,CourseStructureApiTest.php,EnrollmentApiTest.php, nouveauQuizProgressApiTest.php) pour couvrir auth/session, liste cours, détail cours, soumission quiz et progression.courses,courses/[courseId],lessons/[lessonId],quiz/[quizId]) avec services API concrets dansfrontend/src/services/api/{courseService,quizService,progressService}.tset gestion simple des étatsloading/error.frontend/scripts/smoke.mjset script npmsmoke, styles utilitaires et mise à jour dupackage.json.scripts/run_mvp_check.sh, CI minimal.github/workflows/ci.yml(frontend: smoke/lint/build, backend: migrate+tests) et mise à jour duREADME.mdavec checklist MVP.Testing
cd frontend && npm run smokepassed,npm run lintpassed andnpm run buildpassed (routes/pages compiled and prerendered).cd backend && composer install --no-interaction --prefer-distfailed due to network restrictions (GitHub CONNECT tunnel 403), so backend bootstrap (php artisan key:generate), migrations/seeds andphp artisan testcould not be executed in this environment.AuthApiTest,CourseStructureApiTest,EnrollmentApiTest(modified) and newQuizProgressApiTestwere committed to validate auth/session flow, course list/detail, quiz submission and course progress (they are present but not runnable here until vendors are installed)..github/workflows/ci.ymlwill run the frontend smoke/lint/build and backendmigrate:fresh --seed+php artisan testwhen run in CI with network access.Codex Task