4 ms·
If you're into node, you might want to check out json-server. A single json file with one sample entity is the basis of a full API. Check it out at https://gith
by SeeDave 11y ago
If you're into node, you might want to check out json-server. A single json file with one sample entity is the basis of a full API. Check it out at https://github.com/typicode/json-server https://github.com/typicode/json-server
- fzaninotto 11y agoOr FakeRest for that matter. Why would you set up a server when everything you need is a browser ? https://github.com/marmelab/FakeRest https://github.com/marmelab/FakeRest
- SeeDave 11y agoWhoa, looks neat and honestly sounds too good to be true. >Intercept XMLHttpRequest to fake a REST server based on JSON data. Use it on top of Sinon.js to test JavaScript REST clients on the browser side (e.g. single page apps) without a server. I'll check it out this weekend, but man... thanks for sharing!