Generous roof overhangs, top-hinged windows, and/or awnings all work to keep the rain out of the coop.
This coop -- uninhabited at the time -- went through Hurricane Florence without getting any water inside due to the roof overhangs.
(more construction details here...