Firebase Cloud Functions; Backend for Simple Image Ecommerce
Firebase Cloud Functions; Backend for Simple Image Ecommerce
Working with Ionic App and Admin panel
Auto-increment total order numbers and cost to track them in Dashboard admin page.
Cloud Functions are single-purpose JavaScript functions that are executed in a secure, managed Node.js environment.
This is done by updating order_count
and order_amount
property when a new order is added.
Much inspired by Tracking the number of elements in a list in Firebase Clound Functions Samples.
Recount the properties from data when they are deleted