Students like me and you already having economic difficulties and bills for hosting the react app are a serious problem.
Hosting react app. In case you haven t yet try running your web app locally to ensure your web app is running the way you plan it to at this point you have a finalized tested ready to go version of your react app. Ii compile your web app note. All you have to do is set up the remote to your github repo and push the. Build out your react application.
Install surge using npm. The free plan supports custom domains making it a really great option for deploying react applications. Therefore i would like to describe how to host your react app on github. Cd jrr demo react npm run build.
Create react app automatically initializes a git repository for you in the root app directory and makes the first commit. But first you need to set its home page. In this module you will create a react application and deploy it to the cloud using aws amplify s web hosting service. Within your react app open up your package json file.
Surge is a very popular hosting service for static applications like react applications tastefully targeted at frontend web developers. Purchase a domain and hosting to host a website you ll need to purchase a registered domain name and a hosting plan from a hosting provider both provided. Npm install g surge. Deploy and host a react app.
Then i used the vs code azure app extension to deploy just the build folder to the app service called jrr blog react using the deploy to web app context menu item in the azure app service tab. First i built the react app.