<commit_before># cbioportal-frontend
[![Build Status](https://travis-ci.org/cBioPortal/cbioportal-frontend.svg?branch=master)](https://travis-ci.org/cBioPortal/cbioportal-frontend)
[![codecov](https://codecov.io/gh/cbioportal/cbioportal-frontend/branch/master/graph/badge.svg)](https://codecov.io/gh/cbioportal/cbioportal-frontend)

This is the new React frontend for cBioPortal, currently under development. To embed in cBioPortal site, place the following in any jsp

```html
<div id="root">fd</div>
<script src="//localhost:3000/app.js"></script>
```

To install all app and dev dependencies 
```
npm install
```

To start dev server with hot reload enabled
```
npm start
```

To run unit/integration tests
```
npm test<commit_msg>Add codeclimate badge to README<commit_after># cbioportal-frontend
[![Build Status](https://travis-ci.org/cBioPortal/cbioportal-frontend.svg?branch=master)](https://travis-ci.org/cBioPortal/cbioportal-frontend)
[![codecov](https://codecov.io/gh/cbioportal/cbioportal-frontend/branch/master/graph/badge.svg)](https://codecov.io/gh/cbioportal/cbioportal-frontend)
[![Code Climate](https://codeclimate.com/github/cBioPortal/cbioportal-frontend/badges/gpa.svg)](https://codeclimate.com/github/inodb/cbioportal-frontend)

This is the new React frontend for cBioPortal, currently under development. To embed in cBioPortal site, place the following in any jsp

```html
<div id="root">fd</div>
<script src="//localhost:3000/app.js"></script>
```

To install all app and dev dependencies 
```
npm install
```

To start dev server with hot reload enabled
```
npm start
```

To run unit/integration tests
```
npm test
{'fraction_non_alphanumeric': 0.15, 'fraction_numerical': 0.004878048780487805, 'mean_word_length': 5.670731707317073, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '843448', 'n_tokens_mistral': 609, 'n_tokens_neox': 565, 'n_words': 119}