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

Refactoring Your Mind From REST

Refactoring Your Mind From REST

Lachlan

June 20, 2019
Tweet

More Decks by Lachlan

Other Decks in Programming

Transcript

  1. Who Am I? Lachlan Young - React and React Native

    Full Stack Developer - Working Full Time in Australia at Max Kelsen @BuiltByProxy
  2. SO WHAT IS GRAPHQL? @BuiltByProxy TO ME; It's a simple

    API written with JSON It Upgrades REST's old Methods
  3. Business Logic calls. This can be your new route SERVERLESS

    FUNCTION It's starting to look a lot like REST Replace your logs with external
  4. Get User We don't have to get all the data

    We only get what we want Removes the need for filtering logic or multiple different endpoints
  5. The Schema ! mark determines if it is required or

    not Scalar types List definitions