Uh oh!
There was an error while loading. Please reload this page.
Conversation
…to fix-opp-scoring
Merge release into master
- Implemented JWT authentication with token creation and revocation. - Added user login, signup, and logout mutations. - Introduced favorite game management with add/remove functionality. - Updated database schema to support token blocklist and user favorite games. - Enhanced game query to retrieve user's favorited games. - Configured CORS and JWT settings in the Flask app. - Added necessary dependencies in requirements.txt.
Add JWT authentication and user management features
hockey game desc field should not be null now
Fix opp scoring
Add health endpoint
Uh oh!
There was an error while loading. Please reload this page.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip You can disable sequence diagrams in the walkthrough.Disable the |
Overview
This pull request introduces a comprehensive authentication and user favorites system to the backend API, along with several supporting infrastructure improvements. The main changes include JWT-based authentication (login, signup, refresh, logout), secure token revocation and blocklisting, user-specific favorite games management, and related database/index enhancements. Additionally, the API now exposes a health check endpoint and includes several minor improvements and bug fixes.
Authentication & Authorization:
flask_jwt_extended, with support for login, signup, refresh, and logout mutations in GraphQL. Tokens are securely revoked by blocklisting their JTIs in MongoDB, and expired tokens are periodically cleaned up. [1][2][3][4][5][6][7][8][9][10][11]User Favorites Management:
Database & Infrastructure:
/healthendpoint to check API and database connectivity.GraphQL Schema & API Enhancements:
Bug Fixes & Minor Improvements:
References:
[1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20]
Changes Made
Test Coverage
Next Steps (delete if not applicable)
Related PRs or Issues (delete if not applicable)
Screenshots (delete if not applicable)
Screen Shot Name