<commit_before># react-engine-template

A template for [react-engine](https://github.com/paypal/react-engine) and [react-router](https://github.com/reactjs/react-router).

## Installation

```sh
$ git clone https://github.com/remarkablemark/react-engine-template.git
$ cd react-engine-template
$ npm install # also sets up Git hooks
```

## Usage

#### Development

```sh
$ npm run dev
$ open http://localhost:8080 # run in a different tab or window
```

#### Production

```sh
$ npm start
$ open http://localhost:8080 # or replace with IP and PORT
```

### License

[MIT](https://github.com/remarkablemark/react-engine-template/blob/master/LICENSE)<commit_msg>Update README with overview of directory structure<commit_after># react-engine-template

A template for [react-engine](https://github.com/paypal/react-engine) and [react-router](https://github.com/ReactTraining/react-router).

## Installation

```sh
$ git clone https://github.com/remarkablemark/react-engine-template.git
$ cd react-engine-template
$ npm install # and sets up Git hooks
```

## Usage

#### Development:

```sh
$ npm run dev

# in a new tab or window
$ open http://localhost:8080
```

#### Production:

```sh
$ npm start
```

## Overview

```
.
├── app.js # express app
├── build
│   └── ... # assets generated from `src`
├── bin
│   └── www # entry server file
├── nodemon.json
├── package.json
├── routes
│   ├── Routes.jsx # react-router routes
│   └── index.js   # express routes
├── scripts
│   └── ... # git and npm scripts
├── src
│   ├── ... # other source files to be compiled
│   └── main.js # entry file for webpack
├── views
│   └── ... # components
└── webpack
    └── ... # webpack configs
```

## License

[MIT](https://github.com/remarkablemark/react-engine-template/blob/master/LICENSE)
{'fraction_non_alphanumeric': 0.17921348314606741, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 3.8005390835579513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 1, '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': '3449236', 'n_tokens_mistral': 616, 'n_tokens_neox': 592, 'n_words': 170}