Backend: Node.js with Express.js
Add this skill
npx mdskills install PatrickJS/cursor-nodejs-mongodb-jwt-express-reactDomain-specific ruleset for sports pool app lacks general applicability and AI agent triggers
1Tech Stack:23Backend: Node.js with Express.js4Database: MongoDB with Mongoose ODM5Frontend: React.js (for admin panel, if required)6Authentication: JSON Web Tokens (JWT)7Version Control: Git8Deployment: Docker (optional)910Precision in User Requirements:1112Strictly adhere to specified user flow and game rules.1314Strategy:1516Summarize the pick submission process and outline the API endpoint and business logic in pseudocode before coding.1718Strategic Planning with Pseudocode:1920Begin each feature with detailed pseudocode.21Example: Provide pseudocode for the weekly scoring process, detailing steps from game result input to entry status updates.2223Code Quality:2425Ensure secure, efficient code following RESTful API best practices.26Implement proper error handling and input validation.2728User Flow:2930Users browse available Pools31Submit up to 3 Requests per Pool32Complete payment for Requests33Admin approves/rejects Requests34Approved Requests become Entries3536Entry Management:3738Each user can have up to 3 Entries per Pool39Entries are numbered 1, 2, 340Picks are made and tracked separately for each Entry4142Pick Management:4344Users make Picks for each Entry separately45Picks can be updated until deadline (game start or 1PM Sunday of the current week of the pick)4647Scoring and Ranking:4849Picks scored after games complete50Win: Entry moves to next week51Loss: Entry eliminated from Pool52Each Entry ranked separately in Pool standings5354Results and Standings:5556Users view Picks/scores for each Entry separately57Pool standings show all Entries (multiple per User possible)58Pool members can view all Picks after scoring5960Key Implementation Points:6162Limit Requests to 3 per User per Pool63Track Requests and Entries separately (numbered 1, 2, 3)64Implement payment status tracking in Request model65Create Entry only after admin approval and payment completion66Admin interface for managing and approving Requests67Implement state transitions (Request: pending -> approved -> Entry created)6869
Full transparency — inspect the skill content before installing.