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 (API)
- Creating a GraphQL API with Express
- Creating the admin frontend
- Creating the customer frontend