chandanbhanopa / magento2-module-cb-helloworld
Hello world extension
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
README
For Magento 2.3.x and 2.4.x
Just install it and learn how repository works in Magento.
What is Repository Desing Pattern in Magento2
In repository design pattern, the interfaces connected with database object to perfome CRUD operation. It hides the implementation of business logic.
Why we use Repository?
It is used to imporve the API managment so that third party developers can easily use it.
List of APIs
/V1/computers/save
{ "computers": { "company": "string", "hard_disk": "string" } }
/V1/computers/{id}/
/V1/computers/delete/{id}
/V1/computers/list
Features
- Create sample table with computer and harddisk fields.
- Create CRUD operation with form and validation in customer section
- Create ALL apis for third party developers
How to Install Magento Helloworld module
Using Composer (recommended)
composer require chandanbhanopa/magento2-module-cb-helloworld