Generate teams randomly based on rank. This is useful if you want to create linueups of balanced teams. See it in action here
Make sure to install the dependencies:
pnpm installPostgress is used for data storage, so have a postgtres instance running
- Rename
.env.exampleto.env - Update
.envwith aDATABASE_URLto your postgres instance. - Create a database and schema with:
npx prisma migrate devStart the development server on http://localhost:3000
pnpm dev