You've got a React app on one side. An Express server on the other. And you know you need to connect them somehow. But then come the questions — what exactly is an API?

What makes it "REST"? Why does everyone use JSON? And why does CORS lose its mind the moment you try to fetch something?

Let's answer all of it. First — what even is an API? API stands for Application Programming Interface. But f