How do you build an electric energy meter?

Learn a little about - or all about electricty, voltages, current, watts and a few other parameters that are needed to know what aspect you want to attack. You have to know what energy is to trace the grandaddy.