rename to deprecated

This commit is contained in:
sanjeed5
2025-03-03 23:40:27 +05:30
parent 7a6f5a704d
commit 7f71c5eaa4
882 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Rules for the Admin interface functionalities
globs: /admin/**/*.*
---
- Admin interface for managing and approving Requests
@@ -0,0 +1,5 @@
---
description: Rules that enforce to describe API endpoints before implementation
globs: /api/**/*.*
---
- Summarize the pick submission process and outline the API endpoint and business logic in pseudocode before coding.
@@ -0,0 +1,5 @@
---
description: Applies to deployment files, mentions the use of Docker for deployment (optional).
globs: /deploy/**/*.*
---
- Deployment: Docker (optional)
@@ -0,0 +1,7 @@
---
description: Applies to the entries related files. Details entry management related requirements.
globs: /entries/**/*.*
---
- Each user can have up to 3 Entries per Pool
- Entries are numbered 1, 2, 3
- Picks are made and tracked separately for each Entry
@@ -0,0 +1,5 @@
---
description: Applies to all frontend files and uses React.js for the admin panel.
globs: /frontend/**/*.*
---
- Frontend: React.js (for admin panel, if required)
@@ -0,0 +1,9 @@
---
description: Applies to all backend files, enforces Node.js with Express.js for the backend, MongoDB with Mongoose ODM for the database, and JWT for authentication.
globs: /backend/**/*.*
---
- Backend: Node.js with Express.js
- Database: MongoDB with Mongoose ODM
- Authentication: JSON Web Tokens (JWT)
- Ensure secure, efficient code following RESTful API best practices.
- Implement proper error handling and input validation.
@@ -0,0 +1,6 @@
---
description: Applies to pick management files, describes how to manage picks.
globs: /picks/**/*.*
---
- Users make Picks for each Entry separately
- Picks can be updated until deadline (game start or 1PM Sunday of the current week of the pick)
@@ -0,0 +1,10 @@
---
description: Applies to the pools related files. Strictly adheres to the specified user flow and game rules for pools.
globs: /pools/**/*.*
---
- Strictly adhere to specified user flow and game rules.
- Users browse available Pools
- Submit up to 3 Requests per Pool
- Complete payment for Requests
- Admin approves/rejects Requests
- Approved Requests become Entries
@@ -0,0 +1,9 @@
---
description: Rules related to managing requests and implementing state transitions
globs: /requests/**/*.*
---
- Limit Requests to 3 per User per Pool
- Track Requests and Entries separately (numbered 1, 2, 3)
- Implement payment status tracking in Request model
- Create Entry only after admin approval and payment completion
- Implement state transitions (Request: pending -> approved -> Entry created)
@@ -0,0 +1,7 @@
---
description: Applies to results related files, includes all the logic that involves presenting the result to the user.
globs: /results/**/*.*
---
- Users view Picks/scores for each Entry separately
- Pool standings show all Entries (multiple per User possible)
- Pool members can view all Picks after scoring
@@ -0,0 +1,8 @@
---
description: Applies to scoring logic. Describes the scoring system and ranking process.
globs: /scoring/**/*.*
---
- Picks scored after games complete
- Win: Entry moves to next week
- Loss: Entry eliminated from Pool
- Each Entry ranked separately in Pool standings
@@ -0,0 +1,6 @@
---
description: Rules that enforce to use pseudocode before implementation
globs: /*.*
---
- Begin each feature with detailed pseudocode.
- Example: Provide pseudocode for the weekly scoring process, detailing steps from game result input to entry status updates.
@@ -0,0 +1,5 @@
---
description: Applies to git related files, specifies to always use git for version control.
globs: /*/.git/**/*.*
---
- Version Control: Git