Limitless Darts
Create League
Build the first real league record with validated inputs, persistent storage, and a clean admin workflow.
League setup
Create the first real competition record for the platform. This writes directly to Prisma and PostgreSQL.
Live summary
Preview
New league
Add a short description to explain what this competition is about.
- Format
- Singles
- Match format
- Best of 11
- Points
- 2 win / 0 loss
- Visibility
- Public
- Status
- Draft
Notes for this scaffold
The current scaffold has no real auth layer yet, so league ownership is assigned to the first admin or super admin user in the database.
Once Auth.js or your final credentials flow lands, swap that lookup for the signed-in admin user ID and the rest of this feature can stay intact.