Using this service or any others found on internet create a simple JSON schema results a quite easy operation to do.
Install all dependencies and start
$ npm install
$ npm start
Install all dependencies and build
$ npm install
$ npm build
Then ./dist
will be ready to be served.
Run with a preset json schema, stored in src/schema.json
$ docker build . -t form-pa
$ docker run -it --rm form-pa
Or simply run docker replacing that schema with one supplied at runtime as:
$ docker build -f Dockerfile.dev . form-pa:dev
$ docker run -v ${PWD}/schema.json.example:/app/src/schema.json -it --rm -p 3000:3000 form-pa