1.2.7 • Published 2 years ago

react-boss v1.2.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Installation

Globally install react-boss

npm install -g react-boss

OR

yarn global add react-boss

Documentation

Help

To get a list of commands and usage hints use

react-boss --help

Creating a new React Application

react-boss init  

Generating modules and components

Creating a module : react-boss module

  • The react-boss module requires a schema like below (schema.json).
  • The react-boss module will create a CRUD module for you with validations as you defined in the schema.
         {
    "crud": {
      "name": {
        "type": "string",
        "label": "Product Name",
        "required": "true",
        "placeholder": "Enter your product name",
        "inputType": "text"
      },
      "price": {
        "type": "number",
        "label": "Price",
        "required": "false",
        "placeholder": "Enter your price",
        "inputType": "number"
      },
      "category": {
        "type": "string",
        "label": "Category",
        "required": "false",
        "placeholder": "Enter your category",
        "inputType": "text"
      },
      "img": {
        "type": "string",
        "label": "Image",
        "required": "false",
        "placeholder": "Enter your img url",
        "inputType": "text"
      }
      
       
    },
    "list": {
      "name": { "width": "40%", "title": "Name" ,"key":"name"},
      "price": { "width": "20%", "title": "price","key":"price" },
      "category": { "width": "40%", "title": "Category","key":"category" },
      "img": { "width": "40%", "title": "Image","key":"img" }
      
    }
  }
   

Creating a component: react-boss component

Projects using it

1.2.7

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.99

2 years ago

1.0.98

2 years ago

1.0.97

2 years ago