From the one side, customer can order "I need products list on /products and conversion statistics on /statistics/conversion". In this case, we need to obey in and write something like:
const RoutingData: { [routeID: string]: Route } = {
products: {
URN: "/products",
queryParameters: {
category: "CATEGORY",
tag: "TAG"
}
},
conversion: {
URN: "/conversion"
}
}
I suppose, in this case the routing is the Business Rules, because the customers wants it and it will bring the income to customer (at least, the customer thinks as such).
From the other side, the routing is just the Web application feature, but the Business rules must not know about implementation method like Web or Native.
Just in case, I'll remind the Clean Architecture terminology:
