Rather than taking on NodeJS to handle the CORS issue you’re having, maybe try another approach like creating your own JSON file to consume via fetch().
Here’s a post someone made on FCC that might help you get started, but I suggest researching everything you can find on this before you make a decision.
How do I add the local JSON file in fetch API in CodePen? - JavaScript - The freeCodeCamp Forum