Git Product home page Git Product logo

form-pa's Introduction

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

ENV

YAML_SOURCE is the env var in charge to switch from yaml support over json.

Local Dev

Install all dependencies and start

$ yarn install
$ yarn start

Local Prod

Install all dependencies and build

$ yarn install
$ yarn build

Then ./dist will be ready to be served.

Docker

Run with a preset json schema, stored in public/schema/schema.json and default uischema as well in public/schema/uischema.json. To overwrite them just mount a volume.

$ docker build . -t form-pa
$ docker run -it --rm -p 3000:80 form-pa

Or simply run docker replacing that schema with one supplied at runtime as:

$ docker build -f Dockerfile.dev . -t form-pa:dev
$ docker run -v ${PWD}/public/schema/schema.yaml:/usr/src/app/public/schema/schema.yaml -it --rm -p 3000:3000 -e YAML_SOURCE=true form-pa:dev

License

form-pa is licensed under the GNU Affero General Public License v3.0 or later license.

form-pa's People

Contributors

sebbalex avatar dependabot-preview[bot] avatar emiliosp avatar bfabio avatar ioggstream avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.