This method is not recommended practice for construction, it is better to go for traditional gabled roof.
The rafters are often connected into the wall individually or even supported on a wall plate bedded within the wall.
This type of roof can have no joist at all or have a tie or have a joist with a strut to give more strength.