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

apidays Munich 2025 - GraphQL 101: I won't REST...

Avatar for apidays apidays PRO
July 09, 2025
4

apidays Munich 2025 - GraphQL 101: I won't REST, until you GraphQL, Surbhi Singh (GoDaddy.com)

GraphQL 101: I won't REST, until you GraphQL
Surbhi Singh, Software Development Engineer III at GoDaddy.com

apidays Munich 2025 - Accelerate AI Use Cases with APIs
July 2 & 3, 2025

------

Check out our conferences at https://www.apidays.global/

Do you want to sponsor or talk at one of our conferences?
https://apidays.typeform.com/to/ILJeAaV8

Learn more on APIscene, the global media made by the community for the community:
https://www.apiscene.io

Explore the API ecosystem with the API Landscape:
https://apilandscape.apiscene.io/

Avatar for apidays

apidays PRO

July 09, 2025
Tweet

More Decks by apidays

Transcript

  1. About Me BACKGROUND Hi, I am a Software Engineer in

    the Domains Backend Platform team at GoDaddy. I enjoy building things. I am passionate about teaching and am all about sharing my learnings with the community because that’s how we grow together. In my free time, I enjoy playing sports and my guitar. 2 https://www.linkedin.com/in/surbhi -singh/ [email protected]
  2. Contents 4 06 08 14 17 20 21 APIs REST

    APIs Problems with REST GraphQL APIs Similarities Use-cases: when to choose
  3. How do you build APIs? • Can I use REST

    ? • Can I use GraphQL ?
  4. What is REST ? • Representational State Transfer • A

    common API standard • Defined as a set of rules • Uber API, Twitter API, Facebook Rest API
  5. Building blocks of REST 1. URIs https://example.com/v1/products/ https://example.com/v1/orders REST is

    resource-oriented! https://example.com/v1/orders https://example.com/v1/getAllOrders 2. Http Verbs C: Post R: Get U: Put D: Delete HTTP request
  6. Differences ? Context -based preferences *There’s no perfect fit for

    all, only the best fit for the job *Quotes by Surbhi
  7. 1. Simple APIs Weather API 1. Get London’s current weather

    GET https://api.weatherapi.com/v1/current.json ?key=API_KEY&q=London 1. Get Berlin’s weather forecast for the next 3 days GET https://api.weatherapi.com/v1/forecast.json ?key=API_KEY&q=Berlin&days=3
  8. 2. Client Needs Flexibility Instagram API 1. Get Instagram homepage

    POST https://www.instagram.com/api/graphql
  9. Helpful resources • https://roadmap.sh/graphql - community created roadmap with AI

    tutor assist. • Medium article on “GraphQL with Golang - A deep dive from basics to Advanced”
  10. Q. Who likes to see things spinning ? 31 Fourth

    option has loaded, look again!