Choose dec you think is the strongest among the two champions.
In a tutorial I watched, he was doing it according to the rolling of pokemon, so I adapted it for league of legends. You can go to the tutorial here, thank you Theo!
Prerequisite:
- MySQL local database (or Planetscale connection using PScale CLI)
- npm
Setup
- Clone repo
npm install
- Change
example.env
to.env
- Add connection URLs for both database and shadow db to .env
- Initialize database -
npx prisma migrate dev
- Initialize base data set -
npm run ts-node ./scripts/fill-db.ts
- Run dev server
npm run dev