<commit_before># Focus demo application

## Purpose

This application sets to music FOCUS libraries and components.

## How to install it ?

Clone or download project code sources.

Install package dependencies :

```shell
npm i
```

You don't have your API, you can use demo mock API by launching this command:
```shell
node api
```

The mock API serve fake datas at this URL : `http://localhost:9999/`
The section below explain how to plug your own API.

To launch webapp server :
```shell
npm start
```

Open you browser and access to this URL : `http://localhost:3000/`

## How to plug my backend API ?

Edit `config.webpack.js` file.

Replace `API_ROOT` var by root your root API URL in this section :<commit_msg>add title<commit_after># Focus demo application

## Purpose

This application sets to music FOCUS libraries and components.

## How to install it ?

Clone or download project code sources.

Install package dependencies :

```shell
npm i
```

How to launch it ?

You don't have your API, you can use demo mock API by launching this command:
```shell
node api
```

The mock API serve fake datas at this URL : `http://localhost:9999/`
The section below explain how to plug your own API.

To launch webapp server :
```shell
npm start
```

Open you browser and access to this URL : `http://localhost:3000/`

## How to plug my backend API ?

Edit `config.webpack.js` file.

Replace `API_ROOT` var by root your root API URL in this section :
{'fraction_non_alphanumeric': 0.08608815426997245, 'fraction_numerical': 0.011019283746556474, 'mean_word_length': 3.9760273972602738, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5536881', 'n_tokens_mistral': 441, 'n_tokens_neox': 406, 'n_words': 215}