Skip to content

bergie/xpress-demo

Repository files navigation

NoFlo Express demo app

Simple demo app, originally made for the Berlin Node.js meetup.

Open in Flowhub

Showcases noflo-xpress resourceful routing together with concepts like:

  • Express-wide middleware (body parser)
  • Route-specific middleware (JSON schema validator)
  • Passing work to regular NoFlo components and handling results of that

Installation

  • Clone this repository
  • npm install to grab the dependencies

Running

Start the server with:

$ npm start

The runtime will provide an address for opening the application in Flowhub's live mode. By opening that address in your browser you can see the running software and make modifications to the graph while it is running.