Try any Node.js package right in your browser

Share this code:

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including generator-sds-node with all npm packages installed. Try it out:

The name paramater passed (i.e. 'my-route') will be used as the file names. The generators will derive appropriate class names from this parameter.

The route generator will also create a service and test to match.

The migration generator is equivalent to knex migrate:make my-migration.

Preconfigured Libraries

The new app will have a handful of preconfigured libraries included. This includes Hapi, Bookshelf, Knex, Lab, Moment, and Lodash. You may of course add to or remove any of these libraries. But the work to integrate them into the app and into the build process has already been done for you.