A user interface to display FIDE ratings from Musas players. It's built on top of FIDE ratings scraper developed by Rui Alves.
This project was bootstrapped with Create React App.
Ensure you have Node.js and npm installed on your machine.
-
Clone the repository to your local machine:
git clone https://github.com/your-username/your-repo.git
-
Navigate to the project directory:
cd your-repo
-
Install dependencies:
npm install
To start the app in development mode, run:
npm start
Open http://localhost:3000 in your browser to view the app.
The FIDE IDs used to fetch data are located in src/data/musas-fideIds.js
. The FIDE stats are saved in src/data/musas-data.json
. This file contains the stats for each player and it's the 'database' used to build the UI.
To update the FIDE stats (musas-data.json
and consequently the UI), run the following command:
node api/src/api.js
For more details on available scripts and project structure, refer to the Create React App documentation.