Skip to content

silvinomar/musas-fide-ratings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Musas FIDE Ratings UI

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.

Getting Started

Prerequisites

Ensure you have Node.js and npm installed on your machine.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/your-repo.git
    
  2. Navigate to the project directory:

     cd your-repo
    
  3. Install dependencies:

    npm install
    

Running the app

To start the app in development mode, run:

 npm start

Open http://localhost:3000 in your browser to view the app.

Updating FIDE stats

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

Additional Information

For more details on available scripts and project structure, refer to the Create React App documentation.