chandanbhanopa/magento2-module-cb-helloworld

Hello world extension

1.6.0.0 2022-07-25 10:14 UTC

This package is auto-updated.

Last update: 2024-03-25 14:36:49 UTC


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

Contribution

chandanbhanopa@gmail.com