Usage

A Datahoster data host is one folder. Inside it you author three kinds of thing: collections that hold your data, users that hold an access token, and endpoints that define your API. Edit them locally; the local client mirrors them up and your server serves a JSON API over HTTPS.

api.example.com/
  datahoster-collections/  your tables, each a folder of columns
  datahoster-users/        accounts that hold an access token
  datahoster-endpoints/    your API, one folder per path
A data host holds collections, users and endpoints.

A collection is a table: a folder of typed columns, with records you can import from local files. You never reach a collection directly. Every request goes through an endpoint, a named entry in your API that reads or writes one collection under its own permission. A user is a name with a token. Keeping endpoints separate from collections lets your API stay stable while the collections behind it change.

Contents

Examples

Worked data hosts you can read end to end. Browse them all in Examples.