title: What is the best way to integrate Aqueduct server with an existing client based Dart webapp?
body: <p>I am trying to link an aqueduct server with my existing dart project. I am aware of aqueducts HTTPFileController and how you can serve static files, but I was looking for insight on the best way to integrate a full client side web app written in dart with the aqueduct framework. I.e. making API method calls from the component which say return a list of users or something like that. The RPC package offers something like this, but I would like to use aqueduct as it is more robust and offers more features.</p>
  
  <p>Currently my overall project structure looks like: Any suggestions are appreciated!</p>
  
  <ul>
  <li><strong>my_proj</strong>
  
  <ul>
  <li><strong>build</strong></li>
  <li><strong>lib</strong>
  
  <ul>
  <li><strong>components</strong>
  
  <ul>
  <li>(dart components serving html)</li>
  </ul></li>
  <li><strong>controller</strong>
  
  <ul>
  <li>(aqueduct controllers)</li>
  </ul></li>
  <li><strong>model</strong>
  
  <ul>
  <li>(aqueduct models)</li>
  </ul></li>
  <li>my_proj.dart</li>
  <li>my_proj_sink.dart</li>
  </ul></li>
  <li><strong>migrations</strong></li>
  <li><strong>test</strong></li>
  <li><strong>web</strong>
  
  <ul>
  <li>main.dart</li>
  <li>index.html</li>
  </ul></li>
  </ul></li>
  </ul>