Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tillathehun0/ssreact

Boilerplate for SSR React apps. React, Express, Webpack, Babel, Standard, Mocha/Chai
https://github.com/tillathehun0/ssreact

express javascript react seo serverside-rendering

Last synced: 14 days ago
JSON representation

Boilerplate for SSR React apps. React, Express, Webpack, Babel, Standard, Mocha/Chai

Awesome Lists containing this project

README

        

# SSReact
A minimal React boilerplate with support for code splitting, commitlinting, code linting, hot module reload and server side rendering.

|👇|Includes|
|:-:|:---|
|⚙| Babel 7|
|⚙| Standard 12|
|📦| Webpack 4|
|⚛| React 16.8|
|🕸| CSS Modules|
|🎨| PostCSS|
|🤖| Express Server|
|🔥| Hot Module Replacement|
|✂️| Code Splitting|
|🛎| Server Side Rendering|

### Install dependencies
```
> $ npm install
```

### Run the app in the development mode with client and server hot module reload
Build and open your browser to http://localhost:8080.
```
> $ npm run dev
```

### Build and run the app in production
```
> $ npm run prod
```

The production server build is built into `./build` while the client build is built into `./dist`

### Thanks

Thanks to Luan and [his project](https://github.com/luangjokaj/react-ssr-boilerplate) that provided a great deal of the intial scaffolding I used for this boilerplate!