Faker Server
HTTP + Handlebars + FakerJS
🚀
Filesystem Based Mocking
Mock your API with a simple filesystem structure. No need to learn a new language or framework.
🔁
Integrated Faker.js Support
Easily generate fake data with built-in support for Faker.js.
🔃
GraphQL Support
Faker Server supports GraphQL out of the box. Each mock file is a GraphQL query/mutation.
🖥
Offline Development
Run the mock server on your local environment and customize the mock templates to suit your needs.
Templating Example
Template
{
"name": "{{faker "name.firstName"}} {{faker "name.lastName"}}",
"email": "{{faker "internet.email"}}",
"address": "{{faker "address.streetAddress"}}",
"city": "{{faker "address.city"}}",
"country": "{{faker "address.country"}}",
"phone": "{{faker "phone.phoneNumber"}}",
"avatar": "{{faker "image.avatar"}}"
}
Result
{
"name": "{{faker "name.firstName"}} {{faker "name.lastName"}}",
"email": "{{faker "internet.email"}}",
"address": "{{faker "address.streetAddress"}}",
"city": "{{faker "address.city"}}",
"country": "{{faker "address.country"}}",
"phone": "{{faker "phone.phoneNumber"}}",
"avatar": "{{faker "image.avatar"}}"
}