Category

Analytics

Version

0.1.0

Last updated

Oct 23, 2022, 20:19:14 PMa year ago

Medusa Hackathon 2022 - Medusa Summary Plugin

About

Participants

Github, Twitter, Discord: ikke#3486

Description

Really simple medusa plugin that gives summary of different stats

Preview / Suggested use in Medusa Admin

Roadmap

Since it's my first experience with backend, I know that how I made this plugin is probably wrong, so I plan to learn Express.js and TypeORM, then refactor the code, implement the new features. Here's what I have in mind:
  • Refactor
  • Add more statistic types
    • Most common products in discarded carts
    • Top sold products
    • Top sold product groups (Pair or more)
    • Most used fulfilment and payment methods
    • Daily/monthly/yearly sale stats

Set up Project

Prerequisites

Installation steps

  1. Install the plugin:
    Copy to clipboard
    bash npm install medusa-summary-plugin
    or
    Copy to clipboard
    bash yarn add medusa-summary-plugin
  2. Add the plugin to your
    Copy to clipboard
    medusa-config.js
    file:
    Copy to clipboard
    js { resolve: `medusa-summary-plugin` }

Resources

Build your own plugins

Develop your own plugins with our API to speed up your processes.

Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.