0.5.0 • Published 8 years ago

commonform-serve v0.5.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
8 years ago

This package exports a factory function for generating HTTP server response handler functions usable with Node.js core HTTP servers. The generator function requires a bole logger and a LevelUp-compatible data store.

The server responds to endpoints for a number of purposes:

  1. Store and serve Common Forms.
  2. List Common Forms stored by digest.
  3. Register HTTP POST callbacks for notification of new Common Forms.
  4. Serve metadata about the service and its version.