Chapter 7: Creating a Shopping Cart System with GraphQL

In the previous chapter, we built a travel booking system with Vue 3 and Express. This was the first project where we built from scratch our own backend that is used by the frontend. Having our own backend lets us do a lot more stuff that we can't do otherwise—for example, we can save the data that we like in the database that we created ourselves. Also, we added our own authentication system to authenticate the admin user. On the admin frontend, we protect our routes with the beforeEnter route guard, which checks for the authentication token before the admin user can log in.

In this chapter, we will take a look at the following topics:

  • Introducing the GraphQL application programming interface ...

Get Vue.js 3 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.