Node.js server generated from xsd schemas
JavaScript Java CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Model Driven Node.js REST server generated via xsd.

This began as a testing artifact which I developed in a couple of days. It generates a node.js server from an xsd schema applied against velocity templates to generate the app.js,models.js, routes.js, schemas, jade views and test records. It uses mongoose ORM, mongodb and express.

The goal is a single point of control (the xsd) to account for constant flux in schema design. The entire server is re-generated to keep everything in sync and now uses Sun's XJC schema engine. Added a queue manager (Kue).

Remaining tasks:

  1. Add projection REST API

  2. Add post API

  3. Define an xml wrapper scheme to generate specific functionality

  4. Generate fn(){} shells for server/client

  5. Better configuration for external references, i.e. database schemas

  6. Create generic jade templates which use reflection, for 'add' and 'edit'

  7. Fill in how MDN tagging works, is read and applied