See tutorials and class references: https://bo.logikum.hu
If you want to use it in your project:
$ npm install business-objects
First clone the repo and install the dependencies:
$ git clone https://github.com/logikum/business-objects.git
$ cd business-objects
$ npm install
Run the tests (unit tests, core business object tests, model composer tests):
$ jasmine-node tests/unit --color
$ jasmine-node tests/core --color
$ jasmine-node tests/mc --color
Generate the documentation with DocStrap or baseline template:
$ grunt docstrap
$ grunt baseline
Editable models | Read-only models | Other models |
---|---|---|
Editable root object | Read-only root object | Command object |
Editable root collection | Read-only root collection | |
Editable child object | Read-only child object | |
Editable child collection | Read-only child collection |