How to deploy a react applications in GitHub
In this tutorial, we will see how to deploy a react applications in github. Step 1: Develop your react applications Step 2: Create a git hub repository Step 3: In your project terminal, run command "npm install gh-pages --save-dev" Step 4: Update package.json file { "homepage": "https://bharathanbtech.github.io/usecontext", "name": "usecontext", "scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build", Step 5: In the terminal run "npm run deploy" We can access our react application in homepage url. I have learn this from here, Refer here for better understanding: https://www.youtube.com/watch?v=7wzuievFjrk