64BitAsura / kv_streamer

WasmCloud demonstration to host lattice with http server and redis backend for a simple UI

Home Page:https://lively-rain-7032.cosmonic.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyValue Counter

This actor accepts http GET requests, and increments a counter whose name is based on the url path. Each unique url is associated a unique counter. The result is returned in a JSON payload as follows:

{
  "counter": 12
}

This actor makes use of the HTTP server (wasmcloud:httpserver) capability and the key-value store capability (wasmcloud:keyvalue).

As usual, it is worth noting that this actor does not know where its HTTP server comes from, nor does it know which key-value implementation the host runtime has provided.

About

WasmCloud demonstration to host lattice with http server and redis backend for a simple UI

https://lively-rain-7032.cosmonic.app/


Languages

Language:TypeScript 55.5%Language:Rust 38.0%Language:JavaScript 3.0%Language:HTML 3.0%Language:CSS 0.5%