Connect frontend with backend

Hey, i saw a bunch of tutorials on how to use the so called MERN. And everyone has a different style on how they’d approach it. And honestly it’s pretty confusing for newcomer like me, since i have no idea what route (no pun intended) i should be following.

What is the optimal way to connect frontend with backend?