antonfisher / react-express-webpack

React boilerplate with ES2015, Express.js, and Webpack 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React boilerplate with ES2015, Express.js, and Webpack

Build Status GitHub license

Technologies

  • React (v16) + Redux (v3) + React Router (v4)
  • Express.js (v4) as production and development server
  • Webpack 4 (production and development configurations)
  • SCSS support (+ sanitize.css included)
  • ES2015+

Features

  • preconfigured router
  • React Material UI example theme
  • preconfigured modal windows
  • preconfigured eslint and Prettier code formatter
  • React Hot Loader
  • Linux/MacOS/Windows

Screenshots

Demo UI view:

Demo view

Development .js bundles:

Development js bundles

Production .js bundles:

Production js bundles

Production mode server output:

Production js bundles

Usage

Installation

git clone git@github.com:antonfisher/react-express-webpack.git
cd react-express-webpack
npm install

# remove boilerplate git references
rm ./.git

Scripts

# run development mode
npm run dev

# run production mode
npm run build
npm start

# run prettier
npm run prettier

# run lint
npm run lint

# run on a different port
HTTP_PORT=3001 npm run dev

License

MIT License. Free use and change.

About

React boilerplate with ES2015, Express.js, and Webpack 4

License:MIT License


Languages

Language:JavaScript 97.8%Language:HTML 1.6%Language:CSS 0.5%