@modelberry/mbfactory
v8.0.8
Published
Push Typescript models to a content platform
Downloads
16
Maintainers
Readme
@modelberry/mbfactory
Sync Typescript to Contentful. Two way. Models and content.
Requirements
Mbfactory requires Node.js version 16 or higher.
Install
npm install -g @modelberry/mbfactory @modelberry/plugin-contentful
Check for succesful install
mbfactory --help
Setup environment
Copy the env template to: .env.development
Edit the env file and set:
CONTENTFUL_PERSONAL_ACCESS_TOKEN
(where can I find this?)CONTENTFUL_SPACE_ID
(where can I find this?)
Typescript compiler API
Mbfactory uses the Typescript compiler API which requires a valid tsconfig.json
. Use your existing config or create an empty one:
{
"compilerOptions": {}
}
Next
Head over to the docs and examples at modelberry/mbfactory-docs and start your first push or pull.