Skip to content

thetribeio/strapi-plugin-export

Repository files navigation

Publish to NPM

Strapi plugin export data

A plugin that allows to export collection-types and single-types with the option to provide specific formatting for the fields. In the config/plugins.js file you can add this kind of formatting:

'export-data': {
  enabled: true,
    config: {
      formats:{
        'api::article.article': {
          'title' : () => {
            return 'My custom title';
          }
        },
        'api::product.product': {
          'title':   (name) => {
            return `${name} - foo bar`
          }
        }
    }
  }
},

Roadmap 🚧

  • Export entries in collection-types view
  • Use list view filters in exported data like created_at range, order by, etc.
  • Add permissions & roles

How to contribute 🚀

Create a new projet with Strapi : yarn create strapi-app my-project --quickstart
Create a plugins directory in your Strapi project and move into it : mkdir my-project/src/plugins && cd $_
Clone the repository :
With SSH :
git clone git@github.com:thetribeio/strapi-plugin-export.git
With HTTPS :
https://github.com/thetribeio/strapi-plugin-export.git
Create a config/plugins.js file in the strapi project directory.
Run yarn && yarn build in the strapi directory.
Run yarn develop or yarn develop --watch-admin in the strapi directory

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •