March 2022
Intermediate to advanced
390 pages
6h 43m
English
In the previous chapter, we saw how to add authentication and image uploading to our GraphQL API. We've also seen how to protect endpoints from access by non-authenticated users.
Traditionally, in web applications, clients send HTTP requests to servers and receive the response. After that, the connection gets closed. As a result, if the data on the server is changed, the client doesn't have the mechanism to know that.
Nowadays, contemporary apps operate in real time, which means that the backend server can alert clients anytime data changes, even if they do not send another request, because the connection remains open to allow the server to transmit updates whenever they become available. ...