Enables two way sync between medusajs ecommerce stack and strapi
A quick description of strapi-plugin-medusajs.
This plugin is to quickly connect strapi cms with the medusa, to power two awesome open source system, This plugin decouples bootstrapping and configuration, allowing you greate flexibility.
On medusa you need to install the medusa-plugin-strapi-ts, and follow the setup instructions here https://docs.medusajs.com/add-plugins/strapi
On strap in you need to install the strapi-plugin-medusajs You don't need to create an admin user, the plugin will create a default admin user for you if you don't have one already. You can configure the admin like any other plugin, via environment variables.
Install via yarn
yarn add strapi-plugin-medusajs
In your strapi project, enable it
./config/plugins
1module.exports = ({ env }) => ({
2 // ...
3 strapi-plugin-medusajs': true,
4 // other plugins
5});
In your .env
file. Add a MEDUSA_STRAPI_SECRET
environment variable. Make sure it has the same value as jwt_secret config in your Medusajs project
1MEDUSA_STRAPI_SECRET=<Same as medusajs jwt_secret>
You may encounter an error saying maximum length is 255 in which case change the schema type from string to text.
I love developing software and building products that are useful. I sincerely hope you this project helps you. I'm happy to help if you need support setting this up. Give a ⭐️ if this project helped you! Catch me on discord @govdiw
As you might have guessed by now that considerable time and effort has gone into make this product useful to the community at large, and I'd love to keep maintaining and upgrading this. However, As much as we love FOSS software, nothing in this world is truly free. Please help by sponsoring or supporting the project. (https://github.com/sponsors/SGFGOV)
npm install strapi-plugin-medusajs
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.