How large of a landing is required, this may depend on the scale of the home, and if your door opens inward or outward. You need to have enough room to open the door and still have enough room to move around and not feel like you are going to fall off.
If a railing is required will depend on how high the steps are going and city codes.