0.0.9 • Published 6 years ago
hocoro v0.0.9
hocoro
simple data-mock server written with nodejs
Installation
npm i hocoro -g
# or
yarn global add hocoroand make sure you have right
PATHenvironment
Usage
hocoro will watch all yml file in work directory (default is ".")
run application with command blow
hocoro CONFIG_FILE_DIR
# specified port
hocoro -p 8080 CONFIG_FILE_DIRyou can see the request information in terminal or visit url using http://HOSTNAME:PORT/log/SCOPE
scope is your config file name (without yml suffix).
Configuration
see examples