CLI to bootstrap javascript react project. React app scaffolding project created using create-react-app, adding other useful pre-configured features like lazy loading, redux store, forms, lodash, security and various other useful utilities.
npm install -g react-app-scaffolding
scaffold-react-app
- React router with lazy loading enabled.
- Content Security Policy (CSP) headers for preventing XSS attacks.
- CacheManager class for encrypting data stored in browser's local storage.
- Implementation of Container pattern.
- Preconfigured REDUX store with sample implementation of actions, dispatchers and reducers.
- axios implementation with interceptor for configuring API calls.
- Pre-configured loader for API calls.
- lodashWrapper file, containing common lodash methods for reducing the bundle size.
- Common controls like textbox, select in shared-component folder.
- Redux-Form implementation for managing form. Connecting forms to redux store, adding form validations and handling various other form actions.
- Implementation of env files for configuring environment specific values.
- Bootstrap 3 for styling.
- MIT
- Sunil Kumar (skumar.mca2010@gmail.com)