Let's implement our first GraphQL resolver on the backend.
Backend – implementing the GraphQL API with a first resolver
Adding your MusixMatch API key
Before we get to the code, the first thing that you need to do is to add your MusixMatch API key (the same that you've used in Chapter 9, Introducing Vue.js) into the backend/src/api-key.ts file. If you don't, then your code won't be able to fetch any data from MusixMatch.
If you don't have a MusixMatch API key yet, go back to the Vue chapter (that is, Chapter 9, Introducing Vue.js) to find out how to obtain one.
Do not skip this step, as it is mandatory for the application to function.