0.6.9 • Published 5 years ago

stub-server-with-ui v0.6.9

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Stub Server with UI

Development tool for serving static json files or custom HTTP errors with a user-friendly UI and developer-friendly API - useful for local development and end to end testing.

An example of stub endpoints configuration can be found in stub-server.json:

{
  "stubsPath": "stubs",
  "trackHeaders": ["authorization"], 
  "endpoints": [
    {
      "id": "id1",
      "method": "GET",
      "url": "simple-get",
      "stubFilePaths": ["stub1.json"]
    },
    {
      "id": "id2",
      "method": "GET",
      "url": "get/with/params",
      "queryParams": {
        "param1": "value1-exact-match"
      },
      "stubFilePaths": ["stub2.json", "stub3.json"]
    },
    {
      "id": "id3",
      "method": "POST",
      "url": "post/url",
      "postBodyParams": {
        "param1": "value1-exact-match",
        "param2": "value2-exact-match"
      },
      "stubFilePaths": ["stub4.json"]
    }
  ]
}```
0.6.9

5 years ago

0.6.8

5 years ago

0.6.7

5 years ago

0.6.6

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.5

5 years ago

0.6.4

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.9

5 years ago

0.5.8

5 years ago

0.5.7

5 years ago

0.5.6

5 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago