Generate teams randomly based on rank

Team Generator

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

Setup

Postgress is used for data storage, so have a postgtres instance running

  1. Rename .env.example to .env
  2. Update .env with a DATABASE_URL to your postgres instance.
  3. Create a database and schema with:
npx prisma migrate dev

Development Server

Start the development server on http://localhost:3000

pnpm dev

GitHub

View Github