Skip to content

cloudnativedaysjp/dreamkast-weaver

Repository files navigation

dreamkast-weaver

Backend Server for dreamkast/dreamkast-ui.

dreamkast-weaver

Prerequisites

  • Docker

How to run

Run the dev container and database:

docker compose up -d

Access http://localhost:8088 then you can perform tests with a graphiql UI.

For example, you can calculate the number of viewers using the graphql scripts below:

the viewing script

mutation {
  viewTrack(input: {
    profileID: 123,
    trackName: "A",
    talkID: 456
  })
}

and the retrieval script.

query {
  viewerCount(confName: cndt2023) {
    trackName
    count
  }
}