Deploying React and other tools to Azure

One of the tools that I have found quite useful in the past few years, especially when it comes to deploying code between environments (DEV/STAGING/PRODUCTION) is a tool called FreeFilySync - this little tool has some great features for comparing two folders and creating rules to ignore certain files and folders.

The best part of this is that the folders can be local folders on your pc or they can be FTP folders, which means for Azure App Services you can compare and deploy with a single click.

In my case I have a local REACT Build folder that i want to deploy without the web.config and without the files that match *.json.

I was able to setup the from and to folders and these rules in under a minute. I can even then create the same filter to move code between DEV to STAGING directly. So once the code is approved in the Development environment that exact code is moved to Staging.