0.0.7 • Published 3 months ago
@kvytech/medusa-plugin-announcement v0.0.7
Features
- Support API in Admin to CRUD announcement (description, start date, end date, region)
- Support API in Storefront to get an announcement
Prerequisites
How to Install
- Run the following command in the directory of the Medusa backend:
npm install @kvytech/medusa-plugin-announcement
- In medusa-config.js add the following at the end of the plugins array:
const plugins = [
// ... other plugins
`@kvytech/medusa-plugin-announcement`,
]
Notice
This plugin only supplies necessary APIs to manage product reviews. You will need to create all the UIs in Storefront and Admin and integrate them with the APIs to make it suite your need.
Swagger Docs
Once plugin is installed, you can navigate to the following URL to see the Swagger docs, just replace baseURL
with the domain of your application
URL: ${baseURL}/medusa-plugin-announcement/docs