npm

json-server: npm package to mock a JSON REST API

What comes first - the front-end chicken or the API egg? Well, with the npm package json-server you can mock the egg to be able to develop your chicken independently. What json-server does is expose a static json file as a REST API, complete with routes for single items, POSTing…