[WIP] Adding Products to Firebase Updated

After we set the adapter and serializer, our e-commerce application is ready to save and retrieve data in the Firebase Realtime Database. We will store the product images in Firebase Storage and the links to these pictures in 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 1400+ tech skills courses.