Skip to content


Switch branches/tags
This branch is 110 commits ahead of tony-shannon:PTcollab.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Open Source Telehealth Solution

Building on open source technologies;

PulseTile - Web Component version - based on this library

QewdJS -



Video screencast here Watch the video

Link to videos/screencast here

Discussion forum here

This is work in progress, licensed under Apache 2.0, no warranty

Documentation update will follow

Further collaboration is encouraged via the discussion forum above

Funded by the Ripple Foundation in 2020

... /// ...

This solution is served as a dockerised service via the Qewd- Baseline repo - documented here

qewd-baseline: Minimal QEWD Set-up on which to start Application Development

Rob Tweed 4 December 2019, M/Gateway Developments Ltd

Twitter: @rtweed

Google Group for discussions, support, advice etc:

About this Repository

This repository provides a pre-configured, minimal set-up on which you can begin developing your APIs and/or back-end logic/message handlers for your interactive applications.

It supports two modes of operation:

  1. A Dockerised version of QEWD that will run on any Linux system or on a Raspberry Pi

  2. A version that will run on the InterSystems AWS Community Edition of IRIS

This repository also contains in-depth tutorials that will teach you how to build QEWD-based:

What is QEWD?

QEWD is a 100% Node.js-based, integrated system on which you can build the back-end logic for both REST APIs and interactive, browser-based or Native applications. The pre-installated and pre-configured components that constitute QEWD include:

QEWD provides and supports Session management using either server-side Session storage (using QEWD-JSdb) or JSON Web Tokens (JWT).

QEWD can be run either natively or as a Dockerised version and can be configured to support either single monolithic applications or applications built as MicroServices (each of which will run on its own QEWD instance).

QEWD also includes ewd-client, a client JavaScript library which allows browser or Native front-ends to communicate securely over WebSockets with QEWD's socket-io interface. ewd-client can be used and easily integrated with any JavaScript framework.

Getting Started

For the IRIS / AWS Version, see these instructions.

Otherwise, the simplest way to work with QEWD is to use the pre-built Docker version which will run on any Linux system or even on a Raspberry Pi.

Just type these commands in a Linux system or Raspberry Pi:

    cd ~
    git clone
    cd qewd-baseline

Simply answer the questions and within a few minutes you'll have it all ready to run.

Don't worry if you don't have Docker installed (which is the only dependency) - the installer will also install Docker if necessary (though you'll need to start a new process and re-run the installer after it installs Docker).

When the installer has completed you have two options for starting the QEWD Docker container:

  • without database persistence between Container restarts:

      cd ~/qewd-baseline
  • with database persistence between Container restarts:

      cd ~/qewd-baseline

To stop the Docker Container, you should always use the command:

    cd ~/qewd-baseline

This cleanly and safely shuts down the database-connected QEWD Worker Processes

The QEWD-baseline Folder Structure

You'll see the following folders in your QEWD-baseline directory:

  • apis: used for your REST API handler logic
  • configuration: this is where your QEWD system is configured, and where your REST API routes are defined
  • qewd-apps: used for your interactive applications' message handlers
  • utils: used for any of your utility modules on which your REST or interactive application handler are dependent
  • www: used as the QEWD Express web Server root path, and therefore the home for the front-end markup, JavaScript and CSS resources of your applications

If you're running the Containerised version of QEWD, you'll also see a folder named yottadb. If you run the QEWD Container in persistent mode, this folder contains the host files for the YottaDB database. They are mapped for use by YottaDB within the Container. You should not change or move this folder or its contents, but you should back them up regularly.

You'll also see a folder named iris-aws. This contains versions of key files which are used if you are running on IRIS

Developing REST APIs

Click here to learn how to create REST APIs on your QEWD system

Developing Interactive Applications

Click here to learn how to create interactive applications, the back-end of which will run on your QEWD system


Copyright (c) 2019 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.


Refactoring PulseTile (as WebComponents) - on Qewd






No packages published


  • JavaScript 82.6%
  • CSS 14.5%
  • HTML 2.8%
  • Shell 0.1%