Skip to content

A test implementation of the Coniql application using Strawberry

Notifications You must be signed in to change notification settings

rjwills28/coniql_strawberry

Repository files navigation

coniql_strawberry

A test implementation of the Coniql application using Strawberry GraphQL API

Installation

pipenv install

Start server

This will start the server on http://localhost:8080/ws:

pipenv run coniql_strawberry

Additional arguments

  • --cors: allow CORS for all origins and routes. Required when making PV 'put' requests from a web application.

Test client

There are two web interfaces that can be used to query the server:

Example query:

query {
  getChannel(id: "ssim://sine") {
    value {
      float
    }
  }
}

Example subscription:

subscription {
  subscribeChannel(id: "ssim://sine") {
    value {
      float
    }
  }
}

About

A test implementation of the Coniql application using Strawberry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages