Skip to content

Latest commit

History

History
8 lines (7 loc) 路 551 Bytes

2021-02-23.md

File metadata and controls

8 lines (7 loc) 路 551 Bytes
publish_date
2021-02-23
  • Practiced creating a small GraphQL server using Node Express and Apollo. Lots boilerplate code but in summary:
    • Make use of ApolloServer and makeExecutableSchema from apollo-server-express . This lets you use express as the middleware for the Apollo server.
    • Next we can define our resolvers which can perform any arbitary action. the resolver must be supplied back to the to the makeExecutableSchema
    • launching the Apollo node app is a graphql explorer app. very useful for exploring your data.