NewsAboutContact usCreate an AccountLoginGo To
Community supported
Works with
CachéEnsembleInterSystems IRIS
cache ensemble IRIS node.js javascript websockets microservices
Last updated
1/28/19, 11:13 AM
Version history

What's new in this version

See Github Repository

QEWD.js is a Node.js framework for REST APIs, interactive WebSocket and/or Ajax applications, capable of running as a monolithic application or split across MicroServices. Fully supports Cache, Ensemble and IRIS, allowing use of existing Cache ObjectScript code, Cache Objects and Cache SQL, but also allows the database to be abstracted as a persistent JSON / Document database.

qewd: Quick and Easy Web Developer

Rob Tweed
24 February 2016, M/Gateway Developments Ltd

Twitter: @rtweed

Google Group for discussions, support, advice etc:

Thanks to Ward De Backer for debugging assistance and functionality suggestions

What is QEWD?

In summary: QEWD is a Node.js-based platform for developing and running both interactive WebSocket-based applications and REST APIs. QEWD can run as either a monolithic back-end or as a set of MicroServices.

QEWD uses a unique architecture that prevents CPU-intensive or long-running APIs bringing a Node.js system to its knees, and includes a powerful high-performance integrated persistent JSON storage database.

Try it out

The quickest way to try out QEWD is using the pre-built Docker version.

docker pull rtweed/qewd-server

There's also a Raspberry Pi version

docker pull rtweed/qewd-server-rpi

Create three files within a folder of your choice (eg ~/myQEWDApp), using the sub-folder structure shown below:

        |_ configuration
        |            |
        |            |_ config.json
        |            |
        |            |_ routes.json
        |_ apis
        |    |
        |    |_ helloworld
        |            |
        |            |_ index.js


    "qewd_up": true


      "uri": "/api/helloworld",
      "method": "GET",
      "handler": "helloworld"


  module.exports = function(args, finished) {
      hello: 'world'

Fire up the QEWD Docker instance:

docker run -it --name qewdup --rm -p 3000:8080 -v ~/myQEWDApp:/opt/qewd/mapped rtweed/qewd-server

or on a Raspberry Pi:

docker run -it --name qewdup --rm -p 3000:8080 -v ~/myQEWDApp:/opt/qewd/mapped rtweed/qewd-server-rpi

Try out your REST API:



Further Reading

Getting Started with QEWD using QEWD-Up

For more information on QEWD's integrated persistent JavaScript/JSON storage, go to the QEWD.js Training Resources page and study Parts 17 - 27

To see this persistent JSON storage in action


Copyright (c) 2016-19 M/Gateway Developments Ltd,
Redhill, Surrey UK.
All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at                           

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
limitations under the License.