Simple mocking api middleware for Express
app/mocking
No config implemented
const mockingApi = require('./middleware/mockingApi');
this.server.use(mockingApi({
data: require(`${this.dirname}/mocking`)
}));
{
"mockingApi": {
"enabled": true,
"onlyMapFirstLevel": true
}
}
No links available
Last modified | Friday, April 30, 2021, 12:00:21 PM UTC |
Last author | Colin van Eenige |
Commit ID | 4c7a701 |