Плагины Medusa
M

Membership

A starter for Medusa plugins.

Нужна доработка этого плагина?

Связаться с нами
npm install @lodashventure/medusa-membership
Категория
other
Создано
lodashventure
Тип
unknown
Последнее обновление
4 недели назад
Ежемесячные загрузки
527

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
Medusa - Membership