@@ -284,16 +284,16 @@ JS AMAZONA
284284 3 . create product function in api.js
285285 4 . call create product function in ProductListScreen
286286 5 . redirect to edit product
287- 35 . Edit and Delete Product
288- 1 . update parseUrlRequest to get action
287+ 35 . Edit Product UI
289288 2 . create ProductEditScreen.js
290289 3 . load product data from backend
291290 4 . handle form submit
292291 5 . save product in backend
293- 6 . update ProductListScreen.js
294- 7 . handle delete button
295- 8 . rerender after deletion
296- 36 . Upload Product Image
292+ 36 . Delete Product
293+ 3 . update ProductListScreen.js
294+ 4 . handle delete button
295+ 5 . rerender after deletion
296+ 37 . Upload Product Image
297297 1 . npm install multer
298298 2 . create routes/uploadRoute.js
299299 3 . import express and multer
@@ -310,43 +310,43 @@ JS AMAZONA
310310 14 . call uploadProductImage()
311311 15 . create uploadProductImage in api.js
312312 16 . update server.js
313- 37 . Build Project
313+ 38 . Build Project
314314 1 . create build script for frontend
315315 2 . create build script for backend
316316 3 . update sever.js to serve frontend build folder and uploads folder
317317 4 . stop running frontend
318318 5 . npm run build
319319 6 . check localhost:5000 for running website and showing images
320- 38 . Show Categories In Sidebar Menu
320+ 39 . Show Categories In Sidebar Menu
321321 1 . update ProductListScreen.js
322322 2 . handle delete button
323323 3 . rerender after deletion
324- 39 . Admin Orders
324+ 40 . Admin Orders
325325 1 . create Admin Order menu in header
326326 2 . create AdminOrder.js
327327 3 . load orders from backend
328328 4 . list them in the screen
329329 5 . show delete and edit button
330330 6 . redirect to order details on edit action
331- 40 . Edit Order
331+ 41 . Edit Order
332332 1 . if order is payed show deliver button for admin
333333 2 . handle click on deliver button
334334 3 . set state to delivered
335- 41 . Delete Order
335+ 42 . Delete Order
336336 1 . update OrderListScreen.js
337337 2 . handle delete button
338338 3 . rerender after deletion
339- 42 . Show Summary Report in Dashboard
339+ 43 . Show Summary Report in Dashboard
340340 1 . create summary section
341341 2 . style summary
342342 3 . create summary backend
343343 4 . create getSummary in api.js
344344 5 . load data in dashboard screen
345345 6 . show 3 boxes for Users, Orders and Sales
346- 43 . Show Chart in Dashboard
346+ 44 . Show Chart in Dashboard
347347 1 . import chartist
348348 2 . add chartist css to index.html
349349 3 . create linear chart for daily sales
350350 4 . create pie chart for product categories
351- 44 . Publish heroku
351+ 45 . Publish heroku
352352 1 . publish steps
0 commit comments