title: How to deploy backend and frontend projects if they are separate?
body: <p>I am developing a web application with a small team, and after researching and studying a bit we discovered it is a good practice to separate back-end and front-end projects. So we will develop the back-end as a REST API with hapijs and mysql database, and the front-end using angularjs. </p>
  
  <p>But in the production environment they must be at the same server, right? How do we deploy them to the same server if they are in separate repositories?</p>
  
  <p>We are a fairly new team, starting our adventures in web development, so we are studying a lot to get things right.</p>
  
  <p>Our technology stack will be:</p>
  
  <ul>
  <li>Hapijs for the webserver</li>
  <li>sequelize for orm </li>
  <li>socket.io for chat functions</li>
  <li>mocha for unit testing</li>
  <li>angularjs for frontend</li>
  </ul>
  
  <p>We will use microsoft azure for hosting our web app.</p>
  
  <p>Thank You for the answers and help.</p>