@peerigon/movie-list-demo-app

1.3.1 • Public • Published

@peerigon/movie-list-demo-app 🎥

A demo application for workshops.


Run it with npx movie-list-demo-app.

The pre-build frontend is statically served at http://localhost:9000

The REST API will be available at http://localhost:9000/api?search=<term>

Options

  -h, --help                display help for command
  -s, --slow                simulate slow server response time
  -s, --slowResponseMin     minimum slow response time (default: 2000)
  -s, --slowResponseMax     maximum slow response time (default: 6000)
  -b, --broken              broken server response

Server responses are random between 50ms and 100ms for normal mode and 2s and 6s in slow mode.

Broken mode has 50% chance of erroring out (HTTP status code 500) with this response body:

{
	"error": "Something unexpected happened",
	"movies": null
}

Readme

Keywords

none

Package Sidebar

Install

npm i @peerigon/movie-list-demo-app

Weekly Downloads

0

Version

1.3.1

License

ISC

Unpacked Size

161 kB

Total Files

8

Last publish

Collaborators

  • thois
  • jhnns
  • meaku
  • peeri
  • matthaias
  • leomelzer
  • antosan
  • moritzjacobs
  • hpohlmeyer