Giter Site home page Giter Site logo

arkoa's Introduction

ARKOA - ActiveRules on Koa

ActiveRules on Koa A powerful framework for creating the next generation of peer-to-peer, social and interactive web sites. With ActiveRules Zero Code API you simply define your business objects and the rules for how they interact and the API endpoints are auto-generated.

Data Models

  • Data objects are stored in JSON
  • Objects have a defined JSON Schema
  • All data can be validated against its schema
  • Schema validation errors are handled in a consistent manner
  • No validation should happen at the DB library level. (i.e. Mongoose validation)
  • JSON object are converted to JavaScript objects for processing.
  • The JavaScript objects properties and methods are defined within the schema

Directory and File Structure

config
  |-settings.json - System wide settings

docs
  |-out - Docs generated by JSDoc

lib
  |-activerules - ActiveRules functionality and hooks
  |-controllers
    |-index.js - Loads configured controllers
    |-{service_name}
        |-services.json - Defines the service in Swagger with handler info.
    |-models - All the logic of the app is contained in models here

output 
  |-swagger.json - The Swagger spec file created from service controller   

Documentation

Most directories should have their own README.MD stating what the contained files do.

JSDoc files are in /doc/out. To generate from /doc root run:

jsdoc -r ../*.json ../*.js ../*.md ../config ../lib

License

ActiveRules and all of it's modules are released under the MIT license, this permits broad reuse. http://opensource.org/licenses/MIT

arkoa's People

Contributors

bwinkers avatar

Watchers

James Cloos avatar

Forkers

pombredanne

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.