1.1.1 • Published 1 month ago

@bzr/bazaar-mock v1.1.1

Weekly downloads
-
License
proprietary
Repository
-
Last release
1 month ago

Bazaar mock server

Use this server to test your Bazaar app locally.

npm install --save-dev @bzr/bazaar-mock
npx bzr

This will launch a mock Bazaar server on port 3377. It will also create an app with ID "test" that is expected to run on 'http://localhost:8080'.

You can change these defaults with the following options.

npx bzr [options]
  -i specify app ID. It is optional and defaults to 'test'.
  -u specify app URL. It is optional and defaults to 'http://localhost:8080'.
  -r specify redirect URI. Can be specified multiple times. It is optional and defaults to 'http://localhost:8080'.
  -p specify port. Default is 3377.
  -h show this help