When a power supply blows up it is unfortunately not uncommon for it to damage the motherboard as well. Fortunately all of the other parts of the computer such as the hard drive, CPU, memory and graphics card normally survive. The chances are that it is just the power supply that is faulty I hope that you are lucky.