Enhance the strapi plugin to populate data model with dummy data
Closed this issue · 1 comments
Description
The beckn-bpp-adapter plugin only creates the necessary APIs and the queries for fetching and updating of data in the existing data model. We need to enhance the strapi plugin to support the creation of the dummy data.
The current plugin cannot create the dummy data model during installation.
Update the plugin to create the required data in the data model.
This plugin will be configuration-based, if the user asks for data creation then only this data should be populated in the database.
Goals
- Populate the data model with dummy data.
Expected Outcome
when the plugin is installed it should ask user if he wants to have dummy data and based on the user input it should populate the database.
Acceptance Criteria
- [ ]This enhancement should work to accommodate both scenarios: when the user intends to insert data and when they prefer to skip data population altogether.
Implementation Details
NA
Mockups / Wireframes
[Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.]
[Please note that the below section of the ticket has to be in the format as mentioned as it is key to enabling proper listing of the project. Please only choose the options mentioned under the headings wherever applicable.]
Tech Skills Needed:
[Required technical skills for the project]
Complexity
High
Category
Development
Sub Category
Development
This has been done a separate beckn utility to populate catalogs to strapi BPP