Stubacks is very simple stub server for REST API App.
$ npm install
$ npm start
$ curl http://localhost:3000/api/users
{"data":[{"id":1,"name":"user01"},{"id":2,"name":"user02"}]}
- Create JSON file for response into
resources
directory - Append
path
andresource
toroutes.yml
path
: endpoint pathresource
: file path of JSON response