This is a bit tricky! Here's the TL;DR version and some important insights. The first intermediate goal for building the electronics of a 3-axis machine is to get the electronics and networking working. What that means is you want to connect your computer to a router, which is connected to a driver which is connected to a stepper motor. Your computer will serve as a power source to the router. For the driver's power source, you want to use a 24.4 volt power supply. Do not connect the power supply to the router . If you connect your computer and the 24.4V power source, then you're providing the router with more than 24.4 volts and that's going to break things. Here's a picture of the setup.
Of course, there's a lot to get to the setup. This involves the following. For safety's sake, think about every step twice before doing stuff. It's easy to reverse the polarity of the wires (connecting ground to power), and it's easy to forget dangling components. We left two wires hanging from a 24 volt energy source and these two wires came into contact for a moment to make a large flash.
git clone ssh://git@gitlab.cba.mit.edu:846/jakeread/rndmc.git
cd rndmc
npm install serialport
npm install ws
npm install mathjs
node main