Boilerplate for React application development.
- Based on create-react-app, and configurations were ejected so you have full control over them.
- Routing and navigation via react-router.
- Application state management via redux and immutable.
- Mock data supported via fetch-mock.
- Routes, redux models and mock data implementations can be scanned and imported automatically.
- Code-splitting and async chunk loading via webpack and custom component
AsyncWrapper
. - Uniform localization supported via custom
localeUtils
(locale resources auto-import, template literals supported, get/set current locale, global/local locale resources integration). - Webpack bundles visualizer and analysis.
- Extra polyfills.
To create a new app, run a single command:
npx create-wreact-app my-app
Then a new project will be created, enter the project directory:
cd my-app
npm i
To run the app in development mode, run the command:
npm start
To build the app for production to the build
folder, run the command:
npm run build
To test the project, run the command:
npm run test
To run eslint, run the command:
npm run lint