As mentioned above, full inset hinges is what you're looking for.
I used them on my son's cab...

I don't have a photo of the hinges installed, but I drew up what I did. The hinges should be further apart... but this is just an illustration:

These were scary for me the first time I did them... not so much now.

The hinge manufacturer will provide an installation sheet (may have to download it). Also, you can get these at any woodworking store. The staff can "usually" give you pointers.