GraphQL is a new API technology that provides a more efficient, powerful and flexible alternative to REST. It was open-sourced by Facebook in 2015, but has been in internal use already since 2012 to power their native mobile apps. GraphQL has seen major adoption since it was released and is already used in production by bigger companies like Twitter, GitHub and Shopify. Combined with serverless functions, another popular server-side technology, GraphQL has the potential to completely change the way how backend development works. At the core of this new architecture, there is event-driven business logic as well as the global type system that’s defined in the GraphQL schema. The schema serves as the contract for the communication between server and client. At Graphcool, we’ve been using these technologies in production for more than a year and want to share our experience and ideas with the community.