composer require blchv/convert-blog
-
1/ Convert_Blog module skeleton
-
2/ Declarative schema for db table structure
-
3/ CRUD models
-
4/ Data Patch inserting 2-3 post records into database
-
5/ Controllers for posts listing and view of separate post
-
6/ Admin panel page with settings that will allow admin for:
- a/ enable/disable module
- b/ choose field by which posts will sorted in post listing page (id/title/author/content)
-
7/ Web Api endpoints for:
- a/ GET /blog/post/:id (specific Post data)
- b/ GET /blog/post (list all public Posts)
- c/ POST /blog/post (Post creation)
- d/ PUT /blog/post (Post edit)
-
8/ "Please declare event when post is viewed and add log entry with statistic to the file"
-
9/ (Optional) Create new blog post after new product is created, in post add information using below template:
Title: "New product is available in our store - product_title
Content: "New product is available in our store product_title [product_sku].
-
10/ (Optional) Admin backend menu containing 2 adminhtml pages:
- 11/ Backend blogs list (grid)
- 12/ Backend blog form to add/update Posts