boot
This tool will let you initialize codebase from a template.
Usage
technology
: what tech should be used.default
: react
template
: what template should be loaded.default
: default
-o, --output
: path where the template should be boot.default
: ''
Examples:
Your
package.json
will be extended with the necessary changes you might need to run the template. If it doesn't exists, it'll be created for you.
Available Templates
React Minimal
A minimal code to render a single React component.
React Default
A complete example codebase with Redux, async rendering, API calls and Service Worker.
Structure
components
: components directoryconfig
: app configuration directorycore
: app mounting, routing and flux store directoryentities
: HTTP code related directoryfields
: app specific form fields directoryforms
: app specific forms and business logic directorylayouts
: is a container for a page to represent different states of an applicationoverlays
: basically containers to construct a overlay's structure.pages
: basically containers to construct a page's structure.services
: a base service implementation which you build your APIs on.validators
: custom validator function usually forreact-redux-form
index.js
: files are being used to export sub-modules for easier/simplier/nicer imports.
Last updated