Build full-stack scalable applications using Angular with GraphQL, Apollo, and Node.js and learn how to deploy them to the cloud
Key Features
- Use Angular modules and components to build apps that you can easily scale and maintain in future
- Create an Angular front-end with professional-looking Material Design UI components built by the Angular team
- Use Apollo Client to integrate Angular with a GraphQL server
Book Description
Angular is one of the most popular JavaScript frameworks in modern web development, allowing developers to not only build apps and reuse the code but also build apps for any deployment target. For web, mobile web, native mobile, and native desktop, GraphQL is the modern and REST alternative for querying web APIs. Using both Angular and GraphQL will give you a future-proof and scalable stack you can start building your or your clients' apps around.
This book will teach you how to build apps using cutting-edge technologies such as Angular, GraphQL, Apollo, and Node.js. You'll learn how to solve common web development problems with GraphQL, such as database access, authentication, and image uploads.
The book starts by introducing you to building full-stack apps with Angular and GraphQL. Next, you'll learn the basics of Angular application architecture. As you progress, you'll understand how to configure a Node.js application to use GraphQL. Later, the book demonstrates how to configure an Angular application to use SSR (server-side rendering) and get data from a Node.js API that uses GraphQL to interface with a database.
By the end of this book, you'll have the skills you need to be able to build your own full-stack application. You'll also be well-versed with the concept of serverless to deploy your application to AWS Lambda.
What you will learn
- Develop a GraphQL API for a simple social network app using Node.js, Express, and Apollo Server
- Build a front-end with a modular architecture and Material Design UI components to consume the GraphQL API
- Integrate both the Angular front-end and GraphQL back-end using Apollo
- Create Angular modules and components and share data between them
- Understand how to implement server-side rendering using Angular and GraphQL
- Test and deploy your app to the cloud
Who This Book Is For
The book is for Angular developers who want to learn how to use GraphQL and Apollo with Angular to build full-stack applications. No prior knowledge of full-stack development with Angular and GraphQL is required.
Table of Contents
- App Architecture and Development Environment
- Setting up GraphQL with Node.js,Express.js, and Apollo
- Connecting the Database with TypeORM
- Implementing Authentication and Image Uploads with Apollo Server and Node.js
- Adding Realtime Support with Apollo Server
- Angular Application Architecture and Routing
- Integrating the Angular Frontend with the GraphQL Backend
- Implementing Authentication and Image Uploads with Angular and Apollo Client
- Adding Realtime Support with Angular and Apollo Client
- Adding Server-side Rendering
- Deploying your App with the Serverless Framework and AWS Lambda