https://github.com/training-exercises-dtsmart/1_ngochuy
Training Exercise Practice Daily
https://github.com/training-exercises-dtsmart/1_ngochuy
api-rest php yii2-framework
Last synced: about 1 month ago
JSON representation
Training Exercise Practice Daily
- Host: GitHub
- URL: https://github.com/training-exercises-dtsmart/1_ngochuy
- Owner: Training-Exercises-Dtsmart
- License: bsd-3-clause
- Created: 2024-07-02T09:35:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T09:41:34.000Z (9 months ago)
- Last Synced: 2025-04-14T22:46:44.983Z (about 1 month ago)
- Topics: api-rest, php, yii2-framework
- Language: PHP
- Homepage: https://documenter.getpostman.com/view/30812144/2sA3kXG25H
- Size: 21.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#
API link
https://documenter.getpostman.com/view/30812144/2sA3kXG25H
# Create Yii2 Cronjob
+ Set cronjob to send email at 9:00am every morning from M -> F
+ File with name "cront" will be create in project :
+ Run crontab from command :
# Config Redis & Yii2
+ Config Redis :
+ Defined get cache :
+ Login Redis cli to get keys:
** Download Postman Collection Json :
[Yii2.postman_collection.json.zip](https://github.com/user-attachments/files/16374029/Yii2.postman_collection.json.zip)
# Weekly Action :
*** Day 2:
- Schema database :
** File Detail For Database Schema :
+++ ( Click To More Detail ) [orders.pdf](https://github.com/user-attachments/files/16345792/orders.pdf)
- Migrations:
--------------------------------------
*** Day 3:
- Create CRUD for Products
--------------------------------------
*** Day 4:
- Create Filter & Search Function
- Pagination with Serilizer
--------------------------------------
*** Day 5:
- Define Module Product :
- Create method function in product controller of module :
--------------------------------------
*** Day 6:
- Refactoring APIs, format json response, migrations for table :
- Htpp Method via PostMan including User,Product,Post:
--------------------------------------
*** Week 3:
- Crete Docker and Setup Nginx and run nginx inside docker :
 | 
- Write APIs Comment Product:
* Get Comemnt:
* Creeate Comment:
* Update Comment:
* Reply Comment:
* Delete Comment:
** Send email to customer when they checkout order
+ Check email order :
--------------------------------------
*** Week 4 :
+ Create more table, databases for ecommerce apis :
+ Run Codeceptiomn Unit Test :
## Create CI/CD Check CodeCeption Unit Test on Github Action :
--------------------------------------
### API Testing
+ User API
+ Product API
--------------------------------------
### Email Logging