
Tony introduces a complete GraphQL tutorial with Python and FastAPI, outlining prerequisites, environment setup, concepts, hands-on use cases, and GitHub repository.
Learn to create a simple GraphQL endpoint using Python and FastAPI with graphene, building a schema, query, and mutation, and using a single endpoint to fetch tailored data.
Learn how Graphene object types define relationships between fields in your schema, implement resolvers, and build a FastAPI endpoint to expose data with Python.
Explore modular GraphQL schemas with Graphene in Python and FastAPI, mapping schema types to objects, and using list types to expose scalable, customizable APIs.
Learn how to build a GraphQL schema with Graphene in Python by reading data from a CSV file with FastAPI, mapping rows to fields like name, city, designation, and experience.
Develop a dummy weather API using GraphQL with Python and FastAPI, returning fixed city temperatures via a Graphene schema and resolvers.
Explore metaclass usage in Graphene GraphQL to customize object types and query names, guided by Graphene documentation and schema descriptions for maintainable Python FastAPI apps.
This lecture explains what an interface is in graphene, shows how to define a player interface and implement football and cricket players, and demonstrates querying a GraphQL schema.
Explore implementing a Graphene interface with a list type in a Python and FastAPI GraphQL app, mapping data to football and cricket players via a shared interface.
Explore how to resolve data types into Graphene object types using Python, by implementing a Graphene interface and concrete footballer and cricketer types in FastAPI, including invalid data handling.
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.
GraphQL queries access not just the properties of one resource but also smoothly follow references between them. While typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request. Apps using GraphQL can be quick even on slow mobile network connections.
GraphQL APIs are organized in terms of types and fields, not endpoints. Access the full capabilities of your data from a single endpoint. GraphQL uses types to ensure Apps only ask for what’s possible and provide clear and helpful errors. Apps can use types to avoid writing manual parsing code.
Send a GraphQL query to your API and get exactly what you need, nothing more and nothing less. GraphQL queries always return predictable results. Apps using GraphQL are fast and stable because they control the data they get, not the server.
In this tutorial we will learn how to develop graphql applications using python & fastapi.