The main door direction, as per Vastu Shastra, should be such that you face the east, north, or northeast when you exit. It should not face an approaching dead-end road or the intersection of roads.