/bouchon-samples

Samples using Bouchon

MIT LicenseMIT

bouchon-samples

A set of API made with bouchon, useful for mocks and tests.

Installation

npm install bouchon-samples

# a simple list of articles
npm run start:1

# a list of articles + author with filtered and extended data examples
npm run start:2

# a restful example (GET, POST, PATCH, PUT, DELETE)
npm run start:3

# backend actions in action! (actions dispatched in the future to simulate an external process)
npm run start:4

# a combined library API (using `combineFixtures` to nest data)
npm run start:5