Storing new workouts using the Firebase real-time database
Before starting this section, check the code in the
chapter8/3/profitoro folder. Both the
NewWorkout components are filled with a markup.
Don't forget to run
npm install and
npm run dev!
It doesn't work yet, but it displays something:
In this section, we are going to add workout objects to our workouts resource in the Firebase database. After that, we can finally learn how to store images using the Firebase data storage mechanism.
First, let's add Firebase bindings just like we've done for statistics and configuration objects. Open the ...