.cursorrules Node.js MongoDB JWT Express React 

Pool Management Platform

A comprehensive suite of tools for managing sports betting pools, focusing on user engagement, fair play, and secure transactions.

Core Features

  • Pool Management Platform:
    Allows users to browse pools, submit requests, and manage entries with an admin panel for managing requests, payments, and entries.
  • Pick-and-Pay System:
    Enables users to submit requests and securely complete payments, tracking payment status and automating entry creation upon approval.
  • Request Approval Dashboard:
    An admin-focused dashboard for reviewing, approving, or rejecting user requests with status tracking for payments and request progression.

Entry & Scoring Management

  • Entry and Scoring System:
    Handles entry creation post-approval, manages user picks, and automates scoring to update standings.
  • User Standings Display:
    Presents detailed pool standings, showing user rankings and allowing them to view picks and scores.

Compliance & Planning Tools

  • Request and Entry Limitation Module:
    Enforces limits on requests and entries per user to ensure compliance with system rules.
  • Pick Deadline Management Tool:
    Allows users to make or update picks until a set deadline, ensuring fair play and timely submissions.
  • Pseudocode Strategy Planner:
    Helps developers outline API endpoints and business logic in pseudocode for strategic planning.

Security & Payment Integration

  • Payment Status Integration:
    Tracks and updates payment status to ensure entries are created only after payment completion and admin approval.
  • Secure Authentication Service:
    A JWT-based authentication system ensuring secure access control for users and admins.

Key Technologies:

  • React.js (Frontend)
  • RESTful API (Backend)
  • JWT Authentication
  • Payment Gateways

Overview of .cursorrules prompt

The .cursorrules file provides a comprehensive blueprint for a software project involving a backend integrated with Node.js and Express.js, and a frontend potentially using React.js. It utilizes MongoDB with Mongoose for database management and employs JSON Web Tokens for authentication. Git is suggested for version control, with Docker being optional for deployment. The file emphasizes precision in user requirements, especially adhering to game rules and user flow, and recommends starting feature implementation with detailed pseudocode. It outlines the user journey through the application, from browsing pools to submitting requests, handling payments, and managing entries. It describes a structured process for administering requests, creating entries, and managing picks, while maintaining code quality through secure and efficient practices. Lastly, it offers guidance on implementing state transitions and tracking elements such as requests, entries, and payment status.

Updated: March 17, 2025
Developers could use this prompt to build a pool-based game application with user submissions, payment processing, and admin approval workflows, leveraging Node.js, MongoDB, and React.js for efficient user and entry management.
Usefull for: