Chapter 6: Angular Application Architecture and Routing
In earlier chapters, we developed our backend using GraphQL and Apollo Server, and we also used Apollo Studio to communicate with our GraphQL API. We now can begin developing our frontend application to consume the API and present a user interface to users to communicate with the backend.
In the following chapters, we'll focus on connecting our frontend application with the backend API through Apollo Client and sending queries for obtaining and mutating data, but first we'll need to build an Angular frontend project with a basic layout.
In this chapter, we'll begin by installing the Angular CLI and creating a new project using a recent version of Angular. Following that, we'll utilize the Angular CLI to create the modules, services, and components that make up our application's UI, as well as introducing you to dependency injection.
Following the creation of the various artifacts required for...