A CNC router machine is probably the most useful tool a hobbyist can own, but the price for a CNC machine on the market is way more than the average hobbyist is willing to spend. You can build your own CNC with very basic tools, little knowledge of machinery, mechanics, or electronics, but be warned, these machines are inherently dangerous, so wear the proper protection and use common sense. At the very least, read the instructions and precautions on every tool you use.
Now, a CNC stands for Computer Numerical Control, but that is gibberish. It does hint you to the fact that something is controlled, and probably by a computer. It's really a mechanism that interfaces to a computer to control its movements, similar to a robot, but this machine has a specific function. It cuts or shapes things with this control. In essence, a computer precisely controls a cutting tool, like a router for instance, to cut materials such as wood, plastic or metals into shapes only bounded by your imagination.
This four-part video tutorial will show you how to wire the CNC router machine electronics. These are step-by-step instructions on how to connect the stepping motors, drivers, power supplies, fan and computer.
Remember that when working with electronics and providing power to the electronics, electrocution is possible. Electrocution can be fatal, so if you have any reservation, please consult a professional electrician to connect the electronics.