Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
Integrating with Other Frameworks Chapter 19

The keys are created automatically and they contain empty values and 32 levels of nested
data. We are using one level of nesting to insert the name and the smell for each object.


Creating a real-time app with Feathers


Most modern applications are real time, not in the traditional sense, but in the sense that
they don't need the page to reload for them to be updated. The most common way to


implement this is through WebSockets. In this recipe, we will leverage Feathers and
Socket.io to build a cat database.


Getting ready


There is no prerequisite for this recipe, but you can complete the Creating a REST client (and


server!) recipe before starting this one if you want to have more context.


How to do it...


To complete this recipe, you'll need the Feathers' command line; install it with the


following command:


npm install -g feathers-cli
Free download pdf