0.1.13 • Published 10 years ago

kwaai v0.1.13

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

#Kwaai Tools

A set of tools that help in the building of fully restful API's on Node, Mongo and Express.

##APIExpress kwaai.tools.apiexpress

usage:

var app=require('kwaai').tools.apiexpress.createApiExpress();

operation: preMW,validation,coercion,preActionMW,action,postMW

###registerSchemaRoute(options,callback) options:

  • schema
  • collection
  • roles
  • preMW
  • preCreateMW
  • preReadMW
  • preUpdateMW
  • preDeleteMW
  • postMW

##Crud Tools kwaai.tools.crud usage:

var kwaaicrud=require('kwaai').tools.crud;

###getById(options,callback) options:

  • collection
  • schema
  • id
  • query

###getByQuery(options,callback) options:

  • collection
  • schema
  • query
  • rawQuery
  • limit

###insert(options,callback) options:

  • collection
  • schema
  • data

###delete(options,callback) options:

  • collection
  • id
  • query

###updateFull(options,callback) options:

  • collection
  • schema
  • id
  • query
  • data

###updatePart(options,callback) options:

  • collection
  • schema
  • id
  • query
  • data

##Web Crud Tools Kwaai web crud tools are a set of middleware that can be used to create fully restful api's.

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago