Keep the REST contract; move domain logic out of route files so checkout, fulfillment, and identity can be reused across customer, shop, and admin surfaces. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
143 B
Rust
11 lines
143 B
Rust
mod handlers;
|
|
pub mod service;
|
|
|
|
use axum::Router;
|
|
|
|
use crate::state::AppState;
|
|
|
|
pub fn router() -> Router<AppState> {
|
|
handlers::router()
|
|
}
|