0.3.1 • Published 11 years ago
fake-rest-api v0.3.1
fake-rest-api
your fake REST API server
features
- fake api
- fake locations
- fake HTTP status codes
- fake JSON-responses
install
npm install -g fake-rest-apifast start
fake-rest-api startconfigure
create backup directory
mkdir -p ~/fake_rest_api_backupconfig.json
{
"host": "localhost",
"port": 8000,
"backup": {
"path": "~/fake_rest_api_backup/"
}
}start
fake-rest-api -c ./config.json startcli options
| option | description |
|---|---|
| -c, --config | path to custom config.json |
| -p, --port | server tcp port |
