Editing and Deleting Products in Firebase
Learn to edit and delete products from the Firebase Realtime Database.
We'll cover the following
The admin/edit
route is responsible for editing and deleting the products. We’ve already defined the editProduct()
and deleteProduct
actions in the edit
controller.
Let’s open app/controllers/admin/edit.js
and add the required code:
Get hands-on with 1200+ tech skills courses.