title: Deploy Express API to Azure App Services
body: <p>I have an Azure App service instance and I want to deploy an express application to this instance. </p>
  
  <p>To test it in the simplest way possible I generated a fresh express API application using:</p>
  
  <blockquote>
    <p>generator-express-no-stress :
    <a href="https://www.npmjs.com/package/generator-express-no-stress" rel="nofollow noreferrer">https://www.npmjs.com/package/generator-express-no-stress</a></p>
  </blockquote>
  
  <p>Tested it locally and could access the landing page and swagger documentation.</p>
  
  <p>On the Azure portal, I set up a local git deployment and then pushed the local express application to the Azure instance. </p>
  
  <p>When pushing to the remote App Service instance everything seemed to go fine and no error messages popped up and got the standard:</p>
  
  <pre><code>remote: Finished successfully.
  remote: Running post deployment command(s)...
  remote: Deployment successful.
  To https://****.scm.azurewebsites.net:443/****.git
  * [new branch]      master -&gt; master
  </code></pre>
  
  <p>I assumed that the express API is now running on the Azure app instance but it isn't.</p>
  
  <p>I go to the main page to view the landing page:</p>
  
  <pre><code>https://****.azurewebsites.net
  </code></pre>
  
  <p>Or the swagger api-explorer:</p>
  
  <pre><code>https://****.azurewebsites.net/api-explorer
  </code></pre>
  
  <p>I just get 404 page not found.</p>
  
  <p>I haven't modified anything just done exactly as stated above. </p>
  
  <p>Do I need to do anything else to get the express API to work? </p>