NextJS tool to visual ChessKid game data
Login to chess kid and then your game data from https://www.chesskid.com/callback/users/{username}/game-history?&limit=10000
Note to self: My son's username is Dionz (case sensitive)
Paste the data into sampleData/fullData.json
How to use it:
- clone the repository
- cd into the directory and type
npm install
- Turn on your MySQL DB (I use MAMP)
- put your username and pass in the .env.local file (see .env.local.example)
- run
npm run dev
- open your browser to https://localhost:3000/rating
to test:
4. put your username and pass in the .env.local file (see .env.test.example)
run npm run jest
Error: Error serializing .context.req
returned from getServerSideProps
in "/".
Did you start the database?