<commit_before># React Server Side Rendering

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr?ref=badge_shield) [![Dependency Status](https://david-dm.org/rishabh09/react-ssr.svg)](https://david-dm.org/rishabh09/react-ssr) [![devDependencies Status](https://david-dm.org/rishabh09/react-ssr/dev-status.svg)](https://david-dm.org/rishabh09/react-ssr?type=dev) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)




Basic React App with Client and Server Side Rendering

## Build & Run Instructions

1. ### Clone the repo
```
    git clone https://github.com/rishabh09/react-ssr
    cd react-ssr
```

2. ### Install dependencies and devDependencies

```
    npm install
```

3. ### To Run Client Side Rendering

    Build the Client bundle file
    ```
        npm run build-client
    ```

    Run Client-Side-Rendering Server
    ```
        npm run start-client
    ```

4. ### To Run Server Side Rendering

    Build the Server bundle file
    ```
        npm run build-server
    ```

    Run Server-Side-Rendering Server
    ```
        npm run start-server
    ```

## TODO

- [ ] Routing with react-router-4
- [ ] Support for redux
- [ ] Fix Project Structure
- [x] Add Eslint (standard)
- [ ] Style and File Loaders
- [ ] Code Splitting
- [ ] Async API calls for server-side-rendering

## Dependencies

* react
* react-dom
* react-router-dom


## Dev Dependencies

* webpack
* babel-core
* babel-loader
* babel-preset-env
* babel-preset-react

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr?ref=badge_large)<commit_msg>Added new todo in readme<commit_after># React Server Side Rendering

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr?ref=badge_shield) [![Dependency Status](https://david-dm.org/rishabh09/react-ssr.svg)](https://david-dm.org/rishabh09/react-ssr) [![devDependencies Status](https://david-dm.org/rishabh09/react-ssr/dev-status.svg)](https://david-dm.org/rishabh09/react-ssr?type=dev) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)




Basic React App with Client and Server Side Rendering

## Build & Run Instructions

1. ### Clone the repo
```
    git clone https://github.com/rishabh09/react-ssr
    cd react-ssr
```

2. ### Install dependencies and devDependencies

```
    npm install
```

3. ### To Run Client Side Rendering

    Build the Client bundle file
    ```
        npm run build-client
    ```

    Run Client-Side-Rendering Server
    ```
        npm run start-client
    ```

4. ### To Run Server Side Rendering

    Build the Server bundle file
    ```
        npm run build-server
    ```

    Run Server-Side-Rendering Server
    ```
        npm run start-server
    ```

## TODO

- [ ] Routing with react-router-4
- [ ] Support for redux
- [ ] Fix Project Structure
- [x] Add Eslint (standard)
- [ ] Style and File Loaders
- [ ] Code Splitting
- [ ] Async API calls for server-side-rendering
- [ ] Seperate webpack config for client (dev, prod) and server with `webpack-merge`

## Dependencies

* react
* react-dom
* react-router-dom


## Dev Dependencies

* webpack
* babel-core
* babel-loader
* babel-preset-env
* babel-preset-react

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Frishabh09%2Freact-ssr?ref=badge_large)
{'fraction_non_alphanumeric': 0.15041710114702816, 'fraction_numerical': 0.01824817518248175, 'mean_word_length': 3.6396614268440146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 22, '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': '3449187', 'n_tokens_mistral': 1445, 'n_tokens_neox': 1344, 'n_words': 256}