json-server
json-server copied to clipboard
Get a full fake REST API with zero coding in less than 30 seconds (seriously)
This will avoid having this package in the production bundle. Also this package makes the server fail because it is referencing static files using fs.
another solution for [this issue](https://github.com/typicode/json-server/issues/805) it can support `\posts?tags=sometag` or `\posts?tags=sometag` and `tags\sometag\posts` but it can't limit search to same as previous
another solution for [this issue](https://github.com/typicode/json-server/issues/805) it can support `\posts?tags_in=sometag` or `\posts?tags_nin=sometag` but can't support `tags\sometag\posts` yet
read json before all actions so that can merge changes for json mannually
path to db.json must be absolute for this to work.
satisfies #654 - [x] add `_contains` filter - [x] add tests - [x] update readme.md
I think this is a rather painless change. My only doubt is whether we should overload `_expand` for this, or use another special parameter, but IMO the use cases should...
Closes #573
add "--watch" to watch db.json file
I've tried this statement, it does not work for me on version `@0.11.2` `"/api/": "/",` So, a little bit update to make a great example : ) `"/api/*": "/$1",`