How to publish NodeJS Application as APP and Backend service
Hi, I am using NodeJs application with the ionic app as a web application in the same project I am running this application locally by running these commands 1) node server.js and 2) npm run watch. So now I have to publish this application to Azure Static app service or App services. Which is the best way to publish the application?
Should I include these steps for the static app service yml file?
app_location: "/" # App source code path api_location: "/api" # Api source code path - optional api_build_command: 'node server.js'
app_build_command: 'npm run build' output_location: "dist" # Built app content directory - optional
Which place I should publish API and app?