Backend: Node.js with Express.js
Add this skill
npx mdskills install PatrickJS/cursor-nodejs-mongodbClear sports pool management system specs but lacks agent trigger conditions and execution flow
1Tech Stack:23Backend: Node.js with Express.js45Database: MongoDB with Mongoose ODM67Frontend: React.js (for admin panel, if required)89Authentication: JSON Web Tokens (JWT)1011Version Control: Git1213Deployment: Docker (optional)1415Precision in User Requirements:1617Strictly adhere to specified user flow and game rules.1819Strategy:2021Summarize the pick submission process and outline the API endpoint and business logic in pseudocode before coding.2223Strategic Planning with Pseudocode:2425Begin each feature with detailed pseudocode.2627Example: Provide pseudocode for the weekly scoring process, detailing steps from game result input to entry status updates.2829Code Quality:3031Ensure secure, efficient code following RESTful API best practices.3233Implement proper error handling and input validation.3435User Flow:3637Users browse available Pools3839Submit up to 3 Requests per Pool4041Complete payment for Requests4243Admin approves/rejects Requests4445Approved Requests become Entries4647Entry Management:4849Each user can have up to 3 Entries per Pool5051Entries are numbered 1, 2, 35253Picks are made and tracked separately for each Entry5455Pick Management:5657Users make Picks for each Entry separately5859Picks can be updated until deadline (game start or 1PM Sunday of the current week of the pick)6061Scoring and Ranking:6263Picks scored after games complete6465Win: Entry moves to next week6667Loss: Entry eliminated from Pool6869Each Entry ranked separately in Pool standings7071Results and Standings:7273Users view Picks/scores for each Entry separately7475Pool standings show all Entries (multiple per User possible)7677Pool members can view all Picks after scoring7879Key Implementation Points:8081Limit Requests to 3 per User per Pool8283Track Requests and Entries separately (numbered 1, 2, 3)8485Implement payment status tracking in Request model8687Create Entry only after admin approval and payment completion8889Admin interface for managing and approving Requests9091Implement state transitions (Request: pending -> approved -> Entry created)9293
Full transparency — inspect the skill content before installing.