From

Over-Fetching

To

Over-Typing

Carlos Rufo / 29-01-2020 / GraphQL Bangkok 8.0.0 ๐Ÿ‡น๐Ÿ‡ญ

๐Ÿ‘‹ I'm Carlos

Software ๐Ÿ’ป Consultant

GraphQL ๐Ÿ‡ญ๐Ÿ‡ฐ Organizer

SpaceX ๐Ÿš€ GraphQL API

Agenda

  1. ๐ŸŒ GraphQL + TypeScript

  2. ๐Ÿš€ GraphQL Servers

  3. ๐ŸŒ– GraphQL Clients

But before start...

It's ๐ŸŽ‰ ๐ŸŽŠ ๐ŸŽˆ
DevJokes Time

Check & contribute ๐Ÿ‘‡
github.com/shrutikapoor08/devjoke

DevJokes time ๐ŸŽ‰

How do you comfort a JavaScript bug?

You console it ๐Ÿ˜‚

DevJokes time ๐ŸŽŠ

What is programmer's favourite hangout place?

Foo Bar

*๐Ÿฅ ba dum tss

DevJokes time ๐ŸŽˆ

What the developer said to the repository?

FORK YOU! ๐Ÿคฃ

GraphQL ๐ŸŒ
TypeScript

TypeScript

Typed supersetย of JavaScript that compiles to plain JavaScript

TypeScript & GraphQL

  • Starts and ends withย JavaScript
  • Strong tools for large apps
  • State of the art JavaScript

Introspect your API with GraphQL,
introspect your code with TS

Type System

Type System

Explore your API โœจ

Single Source of Truth

Type Generators

Auto-generateย types based
on your GraphQL implementation

Live coding

๐ŸŒ ๐Ÿš€ ๐ŸŒ–

Agenda

  1. Exploring ๐ŸŒ Codebase

  2. GraphQL ๐Ÿš€ Servers

  3. GraphQL ๐ŸŒ– Clients

SpaceX APIs

Links

๐Ÿš€ api.spacex.land/graphql

๐Ÿ›ฐ api.spacex.land/rest

Check & contribute
github.com/spacexland

Slides

เธ‚เธญเธ‚เธญเธšเธ„เธธเธ“ย ๐Ÿ‡น๐Ÿ‡ญ

From Over-fetching to Over-typing - GraphQL Bangkok 8.0.0

By Carlos Rufo

From Over-fetching to Over-typing - GraphQL Bangkok 8.0.0

  • 795