Reference
The exact facts: what each route takes and answers, the frames of the live stream, every
command of the CLI, every variable the server reads, and how to run on one SQLite file
instead of PostgreSQL. Each page is a file of the repository’s
docs/, turned into a page when this site is built, so the
reference and the repository say the same thing. For the ideas behind them, read
Concepts first.
| page | from | |
|---|---|---|
| HTTP API | Every route @jsmemento/server serves, with the scope it needs, its parameters and its answers. | docs/API.md |
| Filter DSL | The query language of POST /memento/events/query. | docs/ARCHITECTURE.md, “Filter DSL” |
| Streaming | Every event memento stores is pushed, as it is stored, to the WebSocket clients of the same tenant whose filter it matches. | docs/STREAMING.md |
| Chats | A chat is an ordinary memento instance. | docs/CHATS.md |
| CLI | memento is the command line of the repository and of the image. | docs/CLI.md |
| Environment variables | What the server reads when it starts; the CLI in the image reads the same DATABASE_URL and REDIS_URL. | docs/DEPLOYMENT.md, “Environment variables” |
| SQLite | JSMemento runs on PostgreSQL or on a single SQLite file. | docs/SQLITE.md |
v1.1.0released built 663143e