Skip to content

eferraris/mockirke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

master

mockirke

Brings up a mocked RESTful API, from a simple configuration file

$HOME/mapping.json
[
    {
        "path": "/getSomething",
        "method": "GET",
        "content": {
            "name": "whats this",
            "description": "this is a description"
        }
    },
    {
        "path": "/api/v1/doPost",
        "method": "POST",
        "content": {
            "name": "yes!",
            "others": [
                {
                    "name": "asd",
                    "image": "/home/asd.jpg"
                }
            ]
        }
    }
]

Docker

docker run -d -p 8080:8080 -v ./mapping.json:/root/mapping.json quiquefe/mockirke

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published