Skip to content

Deploying the backend to Azure #210

Answered by wictorwilen
decapent asked this question in Q&A
Discussion options

You must be logged in to vote

Good question. There's multiple ways of doing this - and if Azure is your target cloud then running it in an Azure App service/web application is most likely your best option - and it's fairly easy to set up. I previously wrote a post on how I do this, for my projects, with Azure DevOps: https://www.wictorwilen.se/blog/deploying-yo-teams-and-node-apps/. The pipeline could easily be replicated for other CI/CD services.
When it comes to the environment variables, having a .env file is great for dev but I don't recommend it in production. Use either the Azure App Service configuration or even better Azure App Configuration (for the latter I created a small utility package that allows you to …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by wictorwilen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@wictorwilen
Comment options

@decapent
Comment options

@wictorwilen
Comment options

@decapent
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants