Summary
In this chapter, we learned about authentication in full-stack Vue/Laravel apps, including session-based authentication for web routes, and token-based authentication for API routes using Laravel Passport.
We used this knowledge to set up a login system for Vuebnb, and to allow saved room listings to be persisted to the database.
Along the way, we also learned how to utilize CSRF tokens for securing forms, and about Vuex actions for adding asynchronous code to the store.
In the next, and final, chapter, we will learn how to deploy a full-stack Vue and Laravel app to production by deploying Vuebnb to a free Heroku PHP server. We will also begin serving images and other static content from a free CDN.