OUTLINE / HTTP ADAPTER
A service behind the interface.
Try the same project workflows over HTTP: query, validate, edit and recover from a rejected save.
Sample HTTP workspace
Projects use a real JSON API with an isolated demo session. Sample server data expires after inactivity or a server restart. References and preferences use this browser.
Opening the HTTP example…
Connect your service.
import { createOutlineHttpRepository } from "@bld8/blocks/outline-http";
const repository = createOutlineHttpRepository({
baseUrl: "/api/outline",
headers: () => ({ Authorization: `Bearer ${sessionToken}` })
});
<OperationsTemplate repository={repository} />The sample uses temporary session data. Add authentication, authorisation and database persistence to your own service.
Download the HTTP starter