Due 20 Feb 2018
If you encounter CORS problems, you might be able to get around them by using npm serve
from your p5 directory and visiting http://localhost:5000
. This is jumping ahead a bit, and we're going to look at JavaScript and node in more detail later, but serve
lets you create a small local server so that your browser treats your project like a web page and not a file on your computer.
Here's the chapter from Fielding's thesis about REST if you're interested.