objectstore_server/web/mod.rs
1//! Module implementing the Objectstore API webserver.
2//!
3//! The main server application is implemented in the [`App`] struct, which sets up routing,
4//! middleware, and the HTTP server. It is a tower service that can be run using any compatible
5//! server framework.
6//!
7//! To listen to incoming connections, use the [`server()`] function, which opens a TCP listener and
8//! serves the application.
9//!
10//! # Testing
11//!
12//! For end-to-end tests of the server, see the `objectstore-test` crate, which provides utilities
13//! to start a test server and interact with it using the client SDK.
14
15mod app;
16mod middleware;
17mod server;
18
19pub use app::App;
20pub use server::server;