How to Serve the Dart Client Application
The client and server can be two different applications that are not connected to each other at all. The only connection that is required is that the server can interpret the requests sent by the client, and that the client can interpret the responses.
The built-in Dart client application is similar to static HTML and can be served by any HTTP server. I do not know Node.js, but I assume that it has a directory where it serves static content. Here you place the build output of your Dart client application.
Connection between Dart click and Node.js server
, Dart , . REST, WebSocket, Ajax JSON .
, , /, . . JS TS Dart, . , , .
, "" . Node.js, , pub serve ( JS ).
( , , Nginx Dart script shelf_proxy), Dart pub serve Rest/Ajax/WebSocket Node.js.