How to open doors on a hinge like a real door?

How would I attach the door to another object at a hinge that rotates. Also I would like to have the door open slowly with a single keypress (left cursor) within about arms distance away. I this possible?

Go to this answer:

Click around here: Unity - Scripting API: HingeJoint

Add a Hinge joint and apply a one time force and if the door exceeds a certain angle stop applying the force.

It’s a quite simple answer, you wouldn’t have to much trouble implementing it.