Skip to content

boyinhoodie/mock-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the mock server is based on koa

every time you edit the json file in api directory, the server will restart and generate the new router

example

[
  {
    "path": "test",
    "response": {
      "data": [
        {
          "id": 1
        },
        {
          "id": 2
        }
      ],
      "status": 1,
      "msg": "success"
    }
  }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%