0.6.9 • Published 4 years ago

stub-server-with-ui v0.6.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

0.6.8

4 years ago

0.6.7

4 years ago

0.6.6

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago