Help teams to generate and validate their Backstage Entities
for their Backstage Catalog
.
- Install the
backstage-toolkit
:
npm install -g backstage-toolkit
- Generate the catalog:
backstage-toolkit generate-catalog --help
Generate a fake catalog based on the configuration file backstage-toolkit.config.js
.
backstage-toolkit generate --fake
Create a file backstage-toolkit.config.js
in the root of your project with the following content, to setup your custom entities:
{
"output": "tmp",
"generator": {
"groups": 10,
"components": 2500,
"apis": 8400,
"domains": 5,
"systems": 10,
"relations": true,
"openapiDefinition": "https://github.com/APIs-guru/openapi-directory/blob/dab6854d4d599aafb0eb36e6c7ae1fe0c37509b7/APIs/spotify.com/2021.4.2/openapi.yaml"
},
"approach": "centralized"
}
- Clone the repo:
git clone
- Install the dependencies:
npm install
- Include the backstage-toolkit
cli
globally to run it from anywhere:
npm install -g ./
backstage-toolkit --help