My Account Log in

3 options

Full stack development with Angular and GraphQL : learn to build scalable monorepo and a complete Angular app using Apollo, Lerna, and GraphQL / Ahmed Bouchefra.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Bouchefra, Ahmed, author.
Language:
English
Subjects (All):
AngularJS (Software framework).
Application software--Development.
Application software.
JavaScript (Computer program language).
Application program interfaces (Computer software).
Physical Description:
1 online resource (390 pages)
Place of Publication:
Birmingham : Packt Publishing, Limited, [2022]
Summary:
Use tools such as Lerna and GraphQL Code Generator to leverage recent features like NPM Workspaces for configuring a mono-repo project and Apollo Client's reactive variables to easily manage the local state of your app Key Features Use Angular modules and components to build apps that you can easily scale and maintain in the future Develop a GraphQL API for a small social network app using Node.js, Express, and Apollo Server Use Apollo Client to integrate Angular with a GraphQL server and manage your application's local state Book Description Angular is one of the most popular JavaScript frameworks in modern web app development allowing developers to not only build apps and reuse the code but also develop 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 Angular, TypeScript and GraphQL will give you a future-proof and scalable stack you can start building apps around. This book shows you how to build apps using cutting-edge technologies. You'll learn how to solve common web development problems with GraphQL and Apollo, 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 how to create a monorepo project with Lerna and NPM Workspaces and configure a Node.js app to use GraphQL with Express and Apollo Server. You'll also understand the basics of Angular architecture and routing. Later, the book demonstrates how to build a professionally-looking UI with Angular Material, use Apollo Client to interface with the server to get data from the built GraphQL API. You'll learn about Apollo Client's type and field policies, and various fetching policies. In addition to this, you'll learn about local state management and reactive variables with Apollo Client and how to generate TypeScript types and even Angular Apollo services for your GraphQL schema and queries using GraphQL Code Generator to implement a scalable codebase. By the end of this book, you'll have the skills you need to be able to build your own full stack application. What you will learn Create a monorepo project with Lerna and NPM workspaces Add realtime support with GraphQL subscriptions Build a frontend with a modular architecture and Material Design UI components to consume the GraphQL API Use GraphQL Code Generator to generate types and code for a type-safe and scalable code base Create Angular modules and smart and dumb components and share data between them Use Apollo Client features such as client-side queries and reactive variables for local state management Who this book is for This Angular GraphQL book is for Angular developers who want to learn how to use GraphQL and Apollo with Angular to build full-stack applications. This book does not assume prior knowledge of full-stack development with Angular and GraphQL.
Contents:
Part 1: Setting up the development environment, GraphQL server, and database
App architecture and development environment
Setting up GraphQL with Node.js, Express.js, and Apollo
Connecting the daatabase with TypeORM
Implementing authentication and image uploads with Apollo server
Adding realtime support with Apollo server
Part 2: Building the Angular frontend with realtime support
Angular application architecture and routing
Adding user search functionality
Guarding routes and testing authentication
Uploading images and adding posts
Fetching posts and adding comments and likes
Part 3: Adding realtime support
Implementing GraphQL subscriptions.
Notes:
Description based on print version record.
ISBN:
9781800209756
1800209754
OCLC:
1302103406

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account