/react-webpack-boilerplate-by-adrian

React 16 and Webpack 4 setup with React-Router, MobX state management, i18n localisation, Hot Module Reload, Node Express server, ES6 transpiling, and tools for code quality and testing.

Primary LanguageJavaScript

React Webpack Boilerplate by Adrian

⚠️ Caution: This is a boilerplate for demonstration purposes. Although based on boilerplates for production, take extra care if you wish to use this in your own project. Check "best practices" mentioned in Structure.

This boilerplate gives you an SAP with dynamic routing, and has the following features:

• React-Router • MobX state management • CSS Modules • i18n localisation • Hot Module Reload • Node Express server • ES6 transpiling with Babel • tools for code quality and testing.

  • React 16.5
  • MobX 5.1
  • Babel 7.1
  • Express 4.16

🛠 Installation

Requirements: Node.js

$ yarn install (with Yarn)

⚙️ Run

Development:

$ yarn run start dev server with hot reloading

Production:

$ yarn run build build files for deployment

$ yarn run start:prod start Express server using build files

📖 Documentation