ioggstream / form-pa

A flexible and configurable form based on json schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form PA

Screen

Generate a valid JSON Schema

Using this service or any others found on internet create a simple JSON schema results a quite easy operation to do.

Run

Local Dev

Install all dependencies and start

$ npm install
$ npm start

Local Prod

Install all dependencies and build

$ npm install
$ npm build

Then ./dist will be ready to be served.

Docker

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

About

A flexible and configurable form based on json schema


Languages

Language:TypeScript 71.0%Language:HTML 12.1%Language:JavaScript 8.1%Language:CSS 6.7%Language:Dockerfile 2.0%