📄️ Build a GraphQL API
Your next task is to build a GraphQL API that exposes some of the data in the Atlas database along with the full-text search functionality.
📄️ Create a custom resolver for search
In this section, you'll write an Atlas function. Atlas functions execute JavaScript code in the cloud. The function will aggregate documents with the $search stage. Then, you'll link the function to your GraphQL API to create a custom resolver for searching players. You'll use the resolver to send search queries.
📄️ Bonus challenge: implement a custom resolver for custom scoring
Implement another custom resolver that modifies the default relevance score using the function option.