json-server
                                
                                 json-server copied to clipboard
                                
                                    json-server copied to clipboard
                            
                            
                            
                        support for getting nested resources
Adds support for getting nested resources using a foreign key
There was previous support for nested resources in the previous version which I found helpful, I also found this comments #1556 and #1567 My implementation follows this comment here https://github.com/typicode/json-server/issues/72#issuecomment-99162206
Example
/environments/12/reports should return reports where environmentId === 12