Add Match Analytics and Hall of Fame Dashboard "Feature/match analytics"#1
Open
msahil2 wants to merge 9 commits into
Open
Add Match Analytics and Hall of Fame Dashboard "Feature/match analytics"#1msahil2 wants to merge 9 commits into
msahil2 wants to merge 9 commits into
Conversation
added Troubleshooting Native Dependencies The upstream repository currently includes a committed `node_modules` directory. In some environments, native modules such as `sqlite3` or `sharp` may contain binaries built for a different operating system or Node.js version.
Author
|
Testing Performed
Note: Then run: |
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.
Summary
This PR adds Match Analytics and Hall of Fame functionality to CrowdGame.
What I Added
Added a
match_historytable to store completed match results.Tracked match winner, winner score, player count, total puzzle pieces, and completion time.
Added
/api/historyendpoint to fetch recent completed matches.Added Hall of Fame section in the Admin Dashboard.
Improved mobile completion screen to show:
Added README troubleshooting notes for native dependency issues such as
sqlite3.How to Run
Then open:
https://localhost:3000/adminhttps://localhost:3000/screen/DEMOhttps://localhost:3000/join/DEMODefault local admin password:
Native Dependency Note
The upstream repository includes
node_modules, so native binaries such assqlite3orsharpmay be platform-specific.If the app fails with an error like:
please delete
node_modulesand reinstall dependencies.Windows PowerShell:
macOS/Linux/Git Bash:
Testing Done
Known Notes
DATABASE_URLis not provided.