breakout
v0.0.3
Published
Gives you one simple way to write an API exposed over multiple transports
Downloads
11
Readme
Breakout - API Transport Abstraction
Breakout tives you one simple way to write an API across transports using NodeJS. For instance, you can write one route and one handler function and have it automatically exposed via a json http api and via the NowJS everyone pocket.
Out of the Box
Out of the box you get support for an http json api via Express and a NowJS api. In your configuration simply pass in your instances for each, e.g.
Defining You API
Server-side Handler Signature
TODO
- be able to handle http route params