Adding Products to Firebase
Learn to send data to the Firebase Realtime Database.
We'll cover the following
After we set the adapter and serializer, our e-commerce application is ready to save and retrieve data in the Firebase Realtime Database. First, we need to remove products from our routes coming from the dummy API. This is because they’ll break with our Firebase adapter and serializer.
Removing local store data
Let’s open the category
, category/item
, admin
and admin/edit
routes and remove all the code from the model()
hooks:
Get hands-on with 1200+ tech skills courses.