title: Is it a good practice to have one RESTful resource for each database table?
body: <p>What is the best way to map RESTful resources to database tables? When defining the architecture of a RESTful API, which criteria decides which resources to have and what is contained in each resource? Should each database table be mapped to a separate resource, or is this not best practice?</p>