Skip to main content

ito_backend/
lib.rs

1//! Backend state API for Ito projects.
2//!
3//! `ito-backend` is a **Layer 3 adapter** that exposes Ito project state
4//! (changes, tasks, modules) via a RESTful HTTP API. It delegates all business
5//! logic to [`ito_core`] and communicates exclusively in JSON.
6//!
7//! The public surface is intentionally minimal: call [`serve`] with a
8//! [`BackendConfig`] to start the server.
9
10#![warn(missing_docs)]
11
12mod api;
13mod auth;
14mod error;
15mod server;
16mod state;
17
18pub use server::{BackendConfig, serve};