Generate simple yet flexible REST API with minimal effort.
npm i fake-till-make
fake-till-make resource <resource name> <data amount>
fake-till-make start <port>
Every resource model requires to have model and dataAmount.
{
"model": {
"exampleField": "string",
"name": "string",
"contacts": [{
"id": "number",
"name": "string"
}]
},
"dataAmount": 2
}
Field | Description |
---|---|
model | resource object structure |
dataAmount | the amount of data should be generated |