Medusa plugins
M
Membership
A starter for Medusa plugins.
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
- add the plugin to your medusa backend
yarn add medusa-membership
- configure your medusa backend
module.exports = defineConfig({// ... rest of the configplugins: [// ... rest of the plugins{resolve: "medusa-membership",options: {redisUrl: "redis://localhost:6380", // or process.env.YOUR_REDIS_URL// optional for redisredisOptions: {// see https://redis.github.io/ioredis/index.html#RedisOptions}},},],});
- run the migrations in your medusa core backend
yarn medusa db:migrate
- all done now just start your medusa backend or whatever you use to start your backend