Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lhz516/webpack-react-express-ssr

Webpack React SSR Boilerplate
https://github.com/lhz516/webpack-react-express-ssr

Last synced: about 2 months ago
JSON representation

Webpack React SSR Boilerplate

Awesome Lists containing this project

README

        

# Webpack React Express SSR

A boilerplate of web development with React SSR

### Usage

Generate a project that named `my-app`:

```bash
$ npx webpack-react-express-ssr my-app
```

- Server host and port can be changed at `settings.js` at project root.

### Tech Stack

- React
- Redux Toolkit
- Express
- Webpack
- Babel
- SASS
- DevServer
- Hot Module Replacement
- Server Side Rendering
- ESLint
- Stylelint
- Prettier
- Jest
- React Testing Library
- Husky
- Lint Staged

### Commands

- `yarn dev` - Start server for development
- `yarn build` - Build production bundle
- `yarn prod` - Start production server after `yarn build`
- `yarn test` - Start running tests
- `yarn cov` - Start running tests with coverage report
- `yarn lint` - Start eslint validation and do auto-fix
- `yarn analysis` - Analyze the size of each module