Introduction
Nested resources help organize related data in a clear way. They show how one thing belongs inside another.
You have a blog with posts and each post has comments.
You manage a store with categories and products inside each category.
You want to show orders and the items inside each order.
You have users and each user has multiple addresses.
You want to keep track of projects and tasks within each project.