diff options
Diffstat (limited to 'dummy-data/README.md')
-rw-r--r-- | dummy-data/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dummy-data/README.md b/dummy-data/README.md index 6db4712..78b2243 100644 --- a/dummy-data/README.md +++ b/dummy-data/README.md | |||
@@ -3,6 +3,12 @@ | |||
3 | This directory content makes possible to test custom services cards or create a demo without actually running the service. | 3 | This directory content makes possible to test custom services cards or create a demo without actually running the service. |
4 | The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly. | 4 | The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly. |
5 | 5 | ||
6 | ## Start the mock server to expose dummy data | ||
7 | |||
8 | ```sh | ||
9 | yarn mock | ||
10 | ``` | ||
11 | |||
6 | ## How to add a new services sample | 12 | ## How to add a new services sample |
7 | 13 | ||
8 | - create a directory for your service, and any sub-folder existing in the service api path. | 14 | - create a directory for your service, and any sub-folder existing in the service api path. |