folkwaysDocs
Examples

Examples

Features built on Folkways, each with its topic rule, its token endpoint and its client code.

Each example is the Folkways part of a feature: the topic rule to paste into the Console, the backend endpoint that issues tokens, and the client code. They use the JavaScript SDK; the same rules and tokens work from any language.

They aren't complete apps: rendering and your own sign-in are left to you, as calls such as renderMessages(). For runnable code, the SDK repository has a React example app and an example token server.

Every example assumes a segment set up as in Get started.