PAE library for bootstrapping platforms
npm install @bluealba/pae-bootstrap-libBlueAlba Platform Boostrapping library.
Used by bootstrap modules to setup the platform applications definitions.
Example usage
``typescript jsx`
bootstrapPlatform({
path: join(process.cwd(), 'src', 'data')
})
Each folder potentially represents an application if it has an application.json file.(modules | operations | roles).json
Each folder might optionally contain definition files that must follow the names: application.json
If it defines an then all resources declared in the previously mentioned files will be automaticallyapplication.json
created scoped to that application.
Otherwise a folder that doesn't have might define resources as well but they will be created
as global resources.
At the top there are platform defitions such as shared-libraries.json
```
.
- shared-libraries.json
- my-application
application.json
modules.json
operations.json
roles.json
- another-application
application.json
modules.json
operations.json
- third-application
application.json
modules.json
- global (all folders without an application.json will create global resources)
modules.json
operations.json