In this tutorial we are going to be focusing on the model and connector layers. The model layer is what our resolvers are gonna use. They are there to expose a generic interface to our resolvers that have abstracted whatever database and possible ORM used in the connectors layer.
Apollo server: using the GraphQL Schema Languages
GraphQL and Apollo are two technologies I’m very excited about. In this post I’ll show you how to setup an Apollo Server using the GraphQL schema language. There are other approaches on how to implement your schema. In another tutorial I’ll show you how to do so using a GraphQL-JS Schema.