In this chapter, you learned how to use the real-time Firebase database with the Vue application. You learned how to use Vuexfire and its methods to correctly bind our Vuex store state to the database reference. We were not only able to read and render the data from the database but we were also able to update it. So, in this chapter, we saw Vuex, Firebase, and Vuexfire in action. I guess we should be proud of ourselves.
However, let's not forget that we have used a hardcoded user ID in order to get the user's data. Also, we had to expose our database to the world by changing the security rules, which doesn't seem right either. It seems that it's time to enable the authentication mechanism!
And we will do it in the next chapter! In the next chapter, we are going to learn how to set up the authentication mechanism using the Firebase authentication framework. We will learn how to use it in our application using Vuefire (Firebase bindings for Vue: https://github.com/vuejs/vuefire). We...