Create 10 applications/services in Django: user, manager, cart, check out & order, search, book, mobile, clothes, shipment, payment Refer to [0.2] and [1] Chap 11 to learn how to create
Trang 2I Create 10 applications/services in Django: user, manager, cart, check out & order, search, book, mobile, clothes, shipment, payment (Refer to [0.2] and [1] Chap 11 to learn how to create these services) Note that book, mobile, clothes are designedwithMongoDB.Copythescreenimageswhatyouhavedonetotheword
file.TheotherservicesaredesignedinmySQLandPostgreSQL.Encourageyouto make some app such as user with
PostgreSQL(https://www.w3schools.com/postgresql/postgresql_install.php)
1 Tạo10apptheoyêucầu
2 3appmobile,clothes,bookkếtnốivớimongoDB;7appcònlạiappvớimysql:
Trang 3CòndùngmySQLthìcầnchỉnhnhưsau:
Trang 4II CreateRestAPItoconnecttothenecessaryservices.Copyimagesofyour working process
1 APPUser
-Model
Trang 5- Apiđăngký
- Apiđăngnhập
Trang 62 APPBook
- Model
Trang 7Tạoserializer.py
Trang 8- Apixemdanhsáchsáchcủaappbook
-Apixemmột cuốnsách
Trang 9- Apithêmmộtbook
Trang 10-Apixóamộtcuốnsách
Trang 11-Apisửasách
Trang 12-Apixemdanhsách cáccategory
Trang 13- Apithêmcategory
Trang 14- Apisửacategory
Trang 15-Apixóacategory
Trang 163 APPClothes
-Model
Trang 17-Apithêmclothes
Trang 18- Api sửaclothes
- Apixóaclothes
Trang 19- Apixemchi tiếtclothes
- Apixemdanh sáchclothes
Trang 204 Appmo
bile-Model
Trang 21Fileviewstương tựnhưbook_service
Trang 24-Apithêmmobile
Trang 25-Apixemchi tiết mộtmobile
Trang 26-Apixóamộtmobile
Trang 275 Appcart
-Model
Trang 28-Apiaddtocart
Trang 29- Apishowcart
Trang 302.6 shipment_service
Trang 31-Apishipment_service