<commit_before># rad.io

## important notice
The backend requires a config file to be filled in, by default the application won't run unless you specify the correct settings in
`src/config/settings.js`.

A valid [API key for Google](https://console.developers.google.com/apis/dashboard), a JWT secret and a valid MongoDB database address are required. The port on which the server will run is `9001` by default.

```
// example settings.js
module.exports = {
  apiKey: '<KEY>',
  secret: 'rad-io-secret',
  database: 'mongodb://127.0.0.1:27017/radio-db',
  port: '9001'
}
```

## get started
```
> yarn

> yarn start:local
```<commit_msg>chore(docs): update backend readme accordingly<commit_after># rad.io

## important notice
The backend requires a config file to be filled in, by default the application won't run unless you specify the correct settings in
a `src/config/settings.js`-file.

A valid [API key for Google](https://console.developers.google.com/apis/dashboard), a JWT secret and a valid MongoDB database address are required. The port on which the server will run is `8080` by default.

There's an example already present. (`backend/config/settings.example.js`)

## get started
```
> yarn

> yarn start:local
```
{'fraction_non_alphanumeric': 0.11482084690553745, 'fraction_numerical': 0.018729641693811076, 'mean_word_length': 4.390350877192983, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3050866', 'n_tokens_mistral': 385, 'n_tokens_neox': 358, 'n_words': 146}