Skip to content

yuha-yuha/DevMomentAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevMomentAPI

this makes json API server from json format.

USAGE

Write json moment api format ./sample.json at the now.

{
    apis:[
        {
            path:"/hoge",
            response: {
                "message":"json"
            }
        }
    ]
}

式展開

{
    apis:[
        {
            path:"/hoge",
            response: {
                "message":"${user}"
            }
        }
    ]

    model:{
        "user": {"name": "hoge"}
    }
}

this json is Access localhost:8080/hoge

curl localhost:8080/hoge
{"message":"json"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages