Giter VIP home page Giter VIP logo

jsonformseditor's Introduction

JsonForms Editor

A web-based editor to create and modify UI Schemata and Data Schemata for JsonForms. JsonForms can create fully functional form-based UIs out of that.

Checkout JsonForms for further information.

Build StatusCoverage Status

Demo

Watch JSONForms Editor in action on the demo page.

The staging demo (for testing) can be found here.

Working with TypeScript

Definitely Typed

In order to work with any library in TypeScript it is recomended to use DefinitelyTyped. This will provide definition files that epxose the public interface of library methods. The propsed way of working with it is to use tsd. This can be installed via npm:

$ npm install tsd -g

Afterwards it can be used from the command line: use tsd query and tsd install to query for libraries and install them afterwards to the typings directory. From there they can be referenced in any TypeScript file, using the following declaration at the top of the file:

/// <reference path="../../typings/angularjs/angular.d.ts" />

Build Process

Grunt is used as the build tool for JsonForms Editor. It is configurer via Grundfile.js and build.config.js.

The following tasks can be run from the command line:

> grunt build compiles all typescript to javascript, compiles all less to css, concatiantes all library scripts to one big lib.js and copies all other javascript files to the build directory. It furthermore adds all html templates to the angular-template cache and builds the index.html in order to include all the links to the scripts / css files.

> grunt dev does the same as grunt build, but starts a watch task afterwards. This will rebuild all, when grunt detects any changes in the typescript, javascript, css or html files.

> grunt test runs all the tests defined in the src folder. Uses Karma as a test-runner and jasmine as testing framework.

> grunt is currently a shortcut to start the grunt dev task.

> grunt upload uploads the current version of the repo to the staging server (for testing)

> grunt deploy deploys the application to the demo page and adds a new release to the main repo

Setup Server

The web server runs with the NodeJS technology. To run it execute the file /backend/bin/www with node.

node backend/bin/www

Config

To be able to use the GitHub integration, the file backend/config/keys.js should be changed to contain the actual Application OAuth keys.

jsonformseditor's People

Contributors

pancho111203 avatar hecforga avatar efeamadasun avatar edgarmueller avatar

Watchers

James Cloos avatar  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.