-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

GraphQL Best Practices
By :

Before we start creating our GraphQL schema, it is good to know exactly what we want to create. To do this, we will use two methods – we will look at a visual diagram and we will create some user stories.
Here is the visual diagram:
Figure 14.1: Visual diagram of the app
The diagram depicts key operations that the clients and salon owners will be able to complete, such as the ability to create and reserve services and chat with one another. We also need to remember that both the client and salon need to authenticate and authorize themselves.
Next, to make the creation of the schema clearer, we will write some user stories from the salon and client perspective. So, as a salon owner, we can write the following: