As Fred mentioned, what are the design requirements/constraints?
I'd add a slot so the "door" drops in, then it slides up and down.
It looks like your goal is 3D printing all of the parts. But cutting flat plates from "real material" is going to be faster and less expensive.