Skip to content

Instantly share code, notes, and snippets.

@hadibadjian
Created April 9, 2016 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadibadjian/00858fd8827f9e9fedfcf20f85960447 to your computer and use it in GitHub Desktop.
Save hadibadjian/00858fd8827f9e9fedfcf20f85960447 to your computer and use it in GitHub Desktop.
Setting up API stubs using mockbin on MacOS

Installation

brew install redis

brew install npm

npm install mockbin

Configuration

brew info redis

npm config set mockbin:redis redis://127.0.0.1:6379

npm config set mockbin:port 8001

Execution

redis-server /usr/local/etc/redis.conf

~/node_modules/mockbin/npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment