Faker engine

Our faker engine is responsible for deploying fak GraphQL backend with fake GraphiQL endpoint you can use in Front-end development for example. Fake endpoint also generates fake data based on types from schema:

https://app.graphqleditor.com/explore-projects/twitter?visibleMenu=faker

Faker configuration

You can configure Faker to receive data more relevant to what you want to achieve. This can be done using configuration JSON.

{
"objects": {
"MyType": {
"stringField": {
"values": ["value1", "value2"] # list of possible values
},
"intField": {
"values": [1, 2] # list of possible values
},
"floatField": {
"values": [1.0, 2.0] # list of possible values
},
"booleanField": {
"values": [true] # list of possible values
},
"customScalarField": {
"values": ["value", 1, 2.0, true, {"json": ["is", "also", "valid"]}] # list of possible values
},
"randomlyFakedField": {
"fake": "name.firstName" # a faker string to be used
}
}
},
"scalars": {
"MyCustomScalarWithValues": {
"values": ["value", 1, 2.0, true, {"json": ["is", "also", "valid"]}] # list of values that this scalar can return
},
"MyCustomFakedScalar": {
"fake": # a faker string to be used
}
}
}