## Requirements - [ ] To resolve relationships problem ```js // GET /books/10 { id: 10, title: "..." author: { ... } // User } ``` ```js // GET /users/4 { id: 10, firstName: "John", rentBooks: {...}[] // Book[] } ``` - [ ] Maybe by explicit relationships (with serialization resolving) - [ ] Maybe by different endpoints - [ ] Without overengineering 😄 ## Variants - [miragejs](https://miragejs.com/) - (but has issues with Relationships in fixtures, e.g. Book <=> User) - [json-server](https://www.npmjs.com/package/json-server) - [Or anothers...](https://miragejs.com/docs/comparison-with-other-tools/)
Requirements
Variants