[A6] Add frontend integration for game: Gameshow Quiz#36
Open
arkeian wants to merge 11 commits into
Open
Conversation
jofanka10
pushed a commit
to jofanka10/FP-PemrogramanWebsite-FE-2025
that referenced
this pull request
Dec 16, 2025
* fix: Update docker-compose volume path for PostgreSQL 18 compatibility - Change volume mount from /var/lib/postgresql/data to /var/lib/postgresql - This fix resolves container restart loop issue with PostgreSQL 18+ - Add package-lock.json for dependency locking * faqihs update * feat: add type-answer game with JSON parsing schema, CSV sync system, and proper lint fixes * Update type answer data exports * feat: allow owner to play and submit unpublished type-answer games * chore: update type-answer CSV data * Update type answer results data * fix: security bug - remove correct_answer from public play endpoint * feat: restore correct_answer in play endpoints for better UX - Added instant answer feedback for educational purpose - Trade-off: slightly less secure but better learning experience * fix: address all review feedback - revert unauthorized changes and follow quiz format Changes: - Removed docs/TYPE-ANSWER-CSV-SYSTEM.md (use apidog instead) - Removed all new migrations (not allowed to create new models) - Removed type-answer seeders - Reverted schema.prisma to upstream version - Reverted auth, user, common files to upstream - Fixed game-list.router.ts (removed eslint-disable, restored QuizController) - Fixed package.json (use bun instead of npm) - Reverted tsconfig.json - Rewrote type-the-answer to follow quiz format: - Created schema folder with proper schema files - Used abstract class for service (like quiz) - Used Router() pattern for controller (like quiz) - Imported from @/common for SuccessResponse, ErrorResponse - Removed separate route file * fix: type-the-answer endpoints sesuai format quiz dan aturan * Update seeder data for type-the-answer game * fix: apply revision feedback - restore files, remove seeders, fix type-the-answer * fix: restore quiz.controller.ts from upstream - revert unauthorized changes --------- Co-authored-by: MFaqihRidh0 <brogrebro@gmail.com>
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.
Description
Assignee
Type of Change