Skip to Main Content
Full Stack Development with Angular and GraphQL
book

Full Stack Development with Angular and GraphQL

by Ahmed Bouchefra
March 2022
Intermediate to advanced content levelIntermediate to advanced
390 pages
6h 43m
English
Packt Publishing
Content preview from Full Stack Development with Angular and GraphQL

Chapter 4: Implementing Authentication and Image Uploads with Apollo Server

In the previous chapter, we covered how to connect a MySQL database to our web application using TypeORM and we implemented some of the resolvers for communicating with the database. We've been able to expose a working GraphQL API with actual resolvers that query and remove data from a real MySQL database.

We used TypeORM for working with the database instead of plain SQL, which abstracts the underlying database management system and SQL instructions using high-level programming constructs in TypeScript.

We have created the TypeORM entities responsible for generating the database tables and columns for our social application and integrated TypeORM with Apollo Server. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Accelerating Angular Development with Ivy

Accelerating Angular Development with Ivy

Lars Gyrup Brink Nielsen, Mateus Carniatto, Jacob Andresen
Building Large-Scale Web Applications with Angular

Building Large-Scale Web Applications with Angular

Chandermani Arora, Kevin Hennessy, Christoffer Noring, Doguhan Uluca

Publisher Resources

ISBN: 9781800202467Supplemental Content