@r35007/mock-server
Advanced tools
Changelog
v19.1.0
_group
in param. Helps to filter data list by group.README.md
Changelog
v19.0.0
.json5
and .jsonc
file support.Changelog
v18.1.0
/_db?_config=true
- Gives you only db route configs without any mock or fetch data.server.js
throws error on file change issue fixed.Changelog
v18.0.1
mock-server --init
- Generates sample server filescosmiconfig
package which helps get use config file in different names. Now we can use .mockserverrc<.js|.cjs|.json>
, .mock-serverrc<.js|.cjs|.json>
, mockserver.config<.js|.cjs|.json>
or mock-server.config<.js|.cjs|.json>
as a config file name.withHelperWrappers
method to wrap user middlewares with helper middlewares.eslint
and prettier
for code standardizations.Changelog
v17.0.0
_CrudOperation
and _AdvancedSearch
middlewares and removed and added implicitly. Now all of our routes can have the CRUD operations and Advanced Searchexpress.static()
method is used as app.use()
and all other routes with directUse: true
is used using app.all()
.createExpressApp
and launchServer
method an additional param is added where we can pass our own express app (express()
) as an optional param the sets to the mockServer app instance.