Npm install kept on failing fixed it with this
https://stackoverflow.com/questions/38127667/npm-install-ends-with-killed/40726127
Tutorial used in no particular order https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https https://blog.miguelgrinberg.com/post/how-to-deploy-a-react--flask-project https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04