Mockend installation is simple:
- Install Mockend GitHub app on your repo (e.g.
- Commit a
.mockend.jsonfile to describe your API
Coniguration is done via
.mockend.json. Basic types are supported:
You can also describe has many and belong to relations.
Here's an example you can copy to quickly start.
Your API will be available at:
For REST, based on the previous config, you can
GET the following routes:
Mockend supports Git branches, you can therefore have multiple mock APIs for different features on the same repo:
For the complete list, see GraphQL generated docs at
Query parameters can be used to filter, sort and paginate lists:
_ne: equal, not equal
_lt: greater than, lower than
_order: sort data (
offset: use them to paginate your results
If you have a question or feedback, feel free to contact us.