Hanging shelf with cupboards to the side