"Movies Box" is a sample project to demonstrate the use of Hurl. Hurl is a CLI tool to run and test HTTP requests. Hurl is used to write integration tests for HTML site, REST APIs, GraphQL APIs etc...
Hurl can be used with various frameworks; in this sample, "Movies Box" is developed using Express, a web framework for Node.js.
$ npm install
$ npm start
...
Create user username: bob78 email: bob78@example.net
Create user username: fab email: fab@example.net
Listening on port 3000
You can create a new user, of play with an existing one like user=fab
, password=12345678
The latest version of "Movies Box" is published as a Docker image. To run it:
$ docker pull ghcr.io/jcamiel/hurl-express-tutorial:latest
$ docker run --name movies --rm --detach --publish 3000:3000 ghcr.io/jcamiel/hurl-express-tutorial:latest