8000 GitHub - IoraHealth/braise: generates Ember-CLI files from JSON schema
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IoraHealth/braise

Repository files navigation

Braise [travis]

Braise cooks those boring old JSON Schema definitions down into rock-hard-awesome Ember Data adapters and models.

Releases published on hex.pm at https://hex.pm/packages/braise.

Braise generates Ember Data adapters and models compatible with Ember Data 2.7+.

Installation

cd ~/src
git clone https://github.com/IoraHealth/braise.git

Add to your PATH

Bash

echo 'export PATH=$PATH:~/src/braise/bin' >> ~/.bash_profile

Zsh

echo 'export PATH=$PATH:~/src/braise/bin' >> ~/.zshrc

Usage

$ braise [--file|-f] <JSON_SCHEMA_FILE>

Takes that boring JSON schema file and outputs some much better files.

Building

  1. Ensure Elixir 1.4+ is installed. On macOS: brew install elixir.
  2. Run make. See more targets in the Makefile

Examples

The examples dir has some input json schemas and the corresponding output produced by braise. To regenerate them

$ make samples

License

MIT. See LICENSE.md for full license text.

About

69A2

generates Ember-CLI files from JSON schema

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0