⚠️ 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
Requirements: Node.js
$ yarn install
(with Yarn)
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