# React Server Side Rendering

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
    ```

## Dependencies

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


## Dev Dependencies

* webpack
* babel-core
* babel-loader
* babel-preset-env
* babel-preset-react
# 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)


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
    ```

## 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)
Add license scan report and status
Add license scan report and status