Module server

Module server 

Source
Expand description

Server module for building HTTP servers with auto-registered routes

This module provides a ServerBuilder that automatically registers:

  • CRUD routes for all entities declared in modules
  • Link routes for bidirectional entity relationships
  • Introspection routes for API discovery

Re-exports§

pub use builder::ServerBuilder;
pub use entity_registry::EntityDescriptor;
pub use entity_registry::EntityRegistry;

Modules§

builder
ServerBuilder for fluent API to build HTTP servers
entity_registry
Entity registry for managing entity descriptors and auto-generating CRUD routes
router
Router builder utilities for link routes