Summary
Through this complete example, we have seen how to use JavaScript on both the client side (here, with Vue.js) and the server side (with Node.js and MongoDB).
The use of a single language to carry out all development simplifies learning and ensures great consistency throughout the application.
In addition, tools such as Vue.js, allowing the creation of reusable components, and modules such as Express and mongoose based on the MVC model, make it possible to properly architect JavaScript code, both on the client side and on the server side.
We also saw how the Axios library made it possible to communicate between the client and the server.
You now have everything you need to create reliable, robust, and well-structured client and server applications entirely in JavaScript.