pub(crate) async fn serve_endpoints(port: u16, app: Router)
Bind to the provided socket address and serve the application endpoints