testing Mocking REST endpoints in web apps, the easy way tldr; Use client-side mocks for your REST API endpoints with connect-api-mocker