How to integrate hard wired door/window contacts to HA?

Finishing my basement now and will have the ability to run any type of AV/Networking/Automation wiring within the framing before I add the drywall.

I have a few z-wave door sensors upstairs, but those can add up quickly. A simple wired magnetic reed contact can be had for $1.

What would be the best way to wire doors/windows into some sort of hub which can then relay information to Home Assistant indicating the status of each sensor?

This is how I did it:

https://community.home-assistant.io/t/custom-raspi-gpio-interfcae-pcb-project/88269