title: Use Node.js data in HTML with HAPI
body: <p>I have a <em>server.js</em> page and it get datas from database. I want to use this datas in a HTML page. How can I get this datas.</p>
  
  <p><strong>I don't use Express</strong> but Hapi (because i'm happy lol).</p>
  
  <p>This is my code :</p>
  
  <pre><code>            &lt;script&gt;var ctx = document.getElementById('graph').getContext('2d');
              var graph = new Chart(ctx, {
                type: 'line',
                data: {
                  labels: ['Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi', 'Dimanche'],
                  datasets: [{
                    label: 'CPU',
                    data: [22, 19, 25, 65, 30, 47, 14],
                    backgroundColor: "rgba(153,255,51,0.4)"
                  }, {
                    label: 'RAM',
                    data: [31, 29, 31, 35, 28, 34, 30],
                    backgroundColor: "rgba(255,153,0,0.4)"
                  }]
                }
              });
          &lt;/script&gt;
  </code></pre>
  
  <p>I want to change "22, 19, 25, 65, 30, 47, 14" by the new values gets with postgreSQL.</p>
  
  <p>Thanks for your help.</p>