Medusa plugins
M

Membership

A starter for Medusa plugins.

Need customizations for this plugin?

Get in touch
npm install @lodashventure/medusa-membership
Category
other
Built by
lodashventure
Type
unknown
Last updated
3 weeks ago

Medusa Plugin membership

This plugin need redis to work

How to install

  1. add the plugin to your medusa backend
yarn add medusa-membership
  1. configure your medusa backend
module.exports = defineConfig({
// ... rest of the config
plugins: [
// ... rest of the plugins
{
resolve: "medusa-membership",
options: {
redisUrl: "redis://localhost:6380", // or process.env.YOUR_REDIS_URL
// optional for redis
redisOptions: {
// see https://redis.github.io/ioredis/index.html#RedisOptions
}
},
},
],
});
  1. run the migrations in your medusa core backend
yarn medusa db:migrate
  1. all done now just start your medusa backend or whatever you use to start your backend