Skip to content

Hrysa/hocoro

Repository files navigation

hocoro

npm version codecov Build Status

simple data-mock server written with nodejs

Installation

npm i hocoro -g

# or
yarn global add hocoro

and make sure you have right PATH environment

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_DIR

you 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

About

simple data-mock server written with nodejs

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors