A brewing system for brewing a beverage comprising: an inlet for receiving fresh water for brewing; a water storage tank; a first solenoid for directing water to the water storage tank when a level in the water storage tank falls below a predetermined level, said first solenoid being disposed between the inlet and the water storage tank; a second solenoid; a first and second pump (70a, 70b) coupled to the water storage tank for directing stored water to a respective first and second division of the second solenoid; said first solenoid having two outgoing fluid paths, a first path leading to the water storage tank, and a second path leading to an overflow drain; said second solenoid being a three-way solenoid having the first and second divisions, the first division servicing a brewing station and the second division servicing a steam generation unit for generating steam, each division including a pressure relief valve (100a, 100b) coupled to a first drain leading away from the brewing system; a first brew path connected to the first division of the second solenoid, and including the brewing station, a heater and a drip valve; wherein the second solenoid is adapted to route excess pressurized water from the first brew path back through the second solenoid and out the first drain; and a two-way solenoid connected to the steam generation unit, the two-way solenoid servicing a froth wand for receiving steam from the steam generation unit, and including a pressure relief valve, wherein the two-way solenoid is adapted to route excess pressurized water from the steam generation unit back through the third solenoid and out a drain line leading to a drain. an inlet for receiving fresh water for brewing; a water storage tank; a first solenoid for directing water to the water storage tank when a level in the water storage tank falls below a predetermined level, said first solenoid being disposed between the inlet and the water storage tank; a second solenoid; a first and second pump (70a, 70b) coupled to the water storage tank for directing stored water to a respective first and second division of the second solenoid; said first solenoid having two outgoing fluid paths, a first path leading to the water storage tank, and a second path leading to an overflow drain; said second solenoid being a three-way solenoid having the first and second divisions, the first division servicing a brewing station and the second division servicing a steam generation unit for generating steam, each division including a pressure relief valve (100a, 100b) coupled to a first drain leading away from the brewing system; a first brew path connected to the first division of the second solenoid, and including the brewing station, a heater and a drip valve; wherein the second solenoid is adapted to route excess pressurized water from the first brew path back through the second solenoid and out the first drain; and a two-way solenoid connected to the steam generation unit, the two-way solenoid servicing a froth wand for receiving steam from the steam generation unit, and including a pressure relief valve, wherein the two-way solenoid is adapted to route excess pressurized water from the steam generation unit back through the third solenoid and out a drain line leading to a drain.