Serverless GraphQL Tutorial for AWS, GCP and Azure

preview_player
Показать описание

This tutorial uses Nitric to create a GraphQL API that can be deployed to a cloud of your choice, gaining the benefits of serverless compute. We'll create the GraphQL schema, write resolvers, create a handler for GraphQL requests, run locally for testing, and finally deploy to the cloud of your choice. We'll include functions for creating and updating a profile, getting all profiles, and getting a profile by its ID.

GraphQL APIs rely on only one HTTP endpoint, which means that you want it to be reliable, scalable, and performant. By using serverless compute such as Lambda, the GraphQL endpoint can be auto-scaling, whilst maintaining performance and reliability.

⏱ Chapters
00:00 Introduction
01:00 Building your project
01:42 Schema definition
05:12 Nitric Collection
06:00 Get profile
07:30 Get all profiles
09:00 Define GraphQL Handler
10:16 Test Get locally
12:49 Create profile
16:16 Update profile
17:58 Delete profile
19:09 Deploy API

🔗 Resources

👋 Have questions or feedback?
----

Nitric is an open source framework for rapid development of cloud-native and serverless applications. Define your apps in terms of the resources they need, then write the code for serverless function based APIs, event subscribers and scheduled jobs.

Apps built with Nitric can be deployed to AWS, Azure or Google Cloud all from the same code base so you can focus on your products, not your cloud provider.

Рекомендации по теме
visit shbcf.ru