Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Modern GraphQL APIs

Building Modern GraphQL APIs

GraphQL Introduction and Building GraphQL API using AWS AppSync

Pradheepa P

June 11, 2021
Tweet

More Decks by Pradheepa P

Other Decks in Programming

Transcript

  1. Agenda • REST and GraphQL • What is GraphQL •

    AWS AppSync • Build a GraphQL API @womenwhocode #WWCode
  2. Short Summary • GraphQL is an APIs just like RESTful.

    • Ask for what you want. • Use only POST to send data. • Get Predictable Results. @womenwhocode #WWCode
  3. GraphQL Server comprises of @womenwhocode #WWCode 1. GraphQL schema –

    API or application data defined and modeled in a GraphQL schema definition language (SDL). 2. Resolvers – business logic linking or “resolving” types/fields defined in the GraphQL schema with the data in the data sources.
  4. Benefits • No over/under fetching of data. • Predefined Schema

    Definition. • Strongly typed. • Documentation support via the Schema doc. @womenwhocode #WWCode
  5. 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.org @womenwhocode #WWCode
  6. Design Considerations • Efficiency • Security • Caching • Monitoring

    • Documentation • Database Integration • Real-time updates ... @womenwhocode #WWCode