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