For the hinge use 2 x M3 screws (any length between 15 and 30mm).
No need for heated inserts, just screw in the plastic.
Onshape model: https://cad.onshape.com/documents/40bb6da17c2adc771179f9d3/w/831790690be35ec8b2311604/e/b3e71d22447d1deb2636f846
The author marked this model as their own original creation.