medusa-plugin-reviews-and-ratings
v0.5.0
Published
Medusa plugin to add product reviews and ratings functionality in the project.
Downloads
5
Maintainers
Readme
Medusa Product Reviews and Ratings
Medusa plugin to add product reviews and ratings functionality in the project.
Features
- APIs for storefront reviews and ratings.
- UI for reviews and ratings in the admin panel.
Prerequisites
How to Install
1. Run the following command in the directory of the Medusa backend:
npm install medusa-plugin-reviews-and-ratings
2. In medusa-config.js
add the following at the end of the plugins
array:
const plugins = [
// ...
{
resolve: `medusa-plugin-reviews-and-ratings`,
options: {
enableUI: true,
},
},
];
3. Run Migrations of plugin:
npx medusa migrations run
Test the Plugin
1. Run the following command in the directory of the Medusa backend to run the backend:
npm run start