@peerigon/movie-list-demo-app
v1.3.1
Published
A demo application for workshops.
Downloads
5
Keywords
Readme
@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
}