Difficulty: 5/10schema definition, resolver implementation, server setupWe can use ApolloServer to implement a graphql serverjavascriptCopyScenario Questions0-2 years experience1How would you set up a simple GraphQL endpoint in Node.js that returns a list of books with title and author?2If a client queries a field that you haven't defined in your schema, what response does GraphQL give?3What steps would you take to add a new resolver for an 'addBook' mutation?Follow-up QuestionsCan you walk me through the code you’d write for a resolver that fetches data from a database?What metrics would you monitor in production to ensure the GraphQL API stays healthy?How would you handle errors so that clients receive useful GraphQL error responses?Suggest Improvement