+ "prompt": "Paddle Tournament Website – Short Functional Description\n\nA web application for managing padel/paddle tournaments with three user roles: Admin, Tournament Manager, and Participant.\n\nCore Features\n\t•\tUser registration, login, profile management, and password changes.\n\t•\tAdmins manage all users (create, edit, deactivate, change roles) and all tournaments.\n\t•\tTournament Managers create, edit, and delete their own tournaments, manage registrations, and view participants.\n\t•\tParticipants browse tournaments, view details, register/unregister, and see “My Tournaments.”\n\nTournaments\nEach tournament has: name, description, location, start/end, registration window, category, max participants, status, and creator.\nRegistrations ensure uniqueness (one user per tournament) and enforce rules (capacity, open dates, status).\n\nPublic Pages\n\t•\tHome with upcoming tournaments\n\t•\tTournament list (filter/search)\n\t•\tTournament details\n\t•\tLogin and sign-up\n\nAuthenticated Pages\n\t•\tProfile + change password\n\t•\tMy Tournaments\n\t•\tTournament creation/edit (Manager/Admin)\n\t•\tTournament participants (Manager/Admin)\n\t•\tUser management pages for Admin\n\nValidation\n\t•\tUnique email, secure passwords\n\t•\tTournament date logic (start < end, registration window valid)\n\t•\tRegistration only when open and not full\n\nNon-Functional\n\t•\tSecure authentication (password hashing)\n\t•\tRole-based access control\n\t•\tServer-side validation\n\t•\tTimestamping for auditability",
0 commit comments