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 install
Postgress is used for data storage, so have a postgtres instance running
- Rename
.env.example
to.env
- Update
.env
with aDATABASE_URL
to your postgres instance. - Create a database and schema with:
npx prisma migrate dev
Start the development server on http://localhost:3000
pnpm dev