Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lhz516/webpack-react-express-ssr
- Owner: lhz516
- License: mit
- Created: 2021-01-17T06:16:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T07:51:31.000Z (almost 2 years ago)
- Last Synced: 2024-11-19T07:53:21.449Z (about 2 months ago)
- Language: JavaScript
- Size: 1.74 MB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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