How To Deploy React App To Github Pages | How to Host Your React App on GitHub Pages for Free

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • How To Deploy React App To Github Pages | How to Host Your React App on GitHub Pages for Free -Gagan
    In this tutorial, you will learn about How to Host Your React App on GitHub Pages for Free
    step 1: create-react-app
    step 2: create github repo
    step 3: $ npm install --save gh-pages
    step 4: "homepage": "gagandatt.githu...",
    "scripts": {
    "predeploy": "npm run build",
    "deploy": "gh-pages -d build",
    }
    step 5: git init & git remote
    step 6 : npm run deploy
    🔥𝐏𝐚𝐲 𝐀𝐟𝐭𝐞𝐫 𝐏𝐥𝐚𝐜𝐞𝐦𝐞𝐧𝐭
    Newton School's 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐂𝐨𝐮𝐫𝐬𝐞 𝟐𝟎𝟐𝟐 - bit.ly/FullSta...
    Newton School Official WhatsApp Support Number: +91 6362 331 200
    -----------------------------------------------------------------------------------
    📌𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦: t.me/coding_monks
    📌𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧: / newto. .
    📌𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦: / newtonschoo. .
    📌𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / newtonschool.co
    ------- 𝐀𝐛𝐨𝐮𝐭 𝐍𝐞𝐰𝐭𝐨𝐧 𝐒𝐜𝐡𝐨𝐨𝐥 -------
    🔵NEWTON SCHOOL is an online Edtech company providing the highest-rated FULL STACK DEVELOPMENT PROGRAM for professionals, graduates, and women.
    🌕NEWTON SCHOOL is your gateway to a high-paying tech career in 6 months with Zero fees till placement, transforming you into a rockstar full-stack developer earning 5-40 Lakh per annum salary. Newton School’s students are already working in more than 150+ top companies of India including Zomato, Unacademy, Deloitte, Nutanix, etc.
    🔵To watch more videos on programming, Data Structures, Android Development, Data Science, C++, Java, React, subscribe to our channel.
    🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! Keep the LOVE 🧡and support😍.🌟
    How To Deploy React App To Github Pages -How to Host Your React App on GitHub Pages for Free - Gagan
    - - - - - - - - - - - - -
    If you're reading this far down, hello, you look nice today :)
    #react #github #reactwithgithub #reactjs #NewtonSchool #NS #Fullstack #FSD #Datascience #MS #Postgrad #webdeveloper #programming #programmer #programmers #developer #coder #programmingmemes #coders #coding #frontenddeveloper #backenddeveloper #html #softwaredeveloper #hacking #python
    How to deploy react js app on github page,How to Deploy React App to GitHub Pages,Host React.js App for FREE in 5 mins with GitHub Pages,Publish A React App To GitHub Pages,How To Host React JS Website Live for Free using GitHub in 2022,How To Deploy A React App To Github Pages,How to Deploy Create React App to GitHub Pages?,How to Host React JS Website for Free Using GitHub Pages,Deploy React Website to GitHub Pages?,Deploy react app to Github pages,Host React Website on Github,How to deploy a React App to Github Pages in hindi,Deploying React.js app to GitHub Pages
    How To Deploy React App To Github Pages | How to Host Your React App on GitHub Pages for Free

Комментарии • 98

  • @joeymartinijnr
    @joeymartinijnr Год назад +7

    Finally found the right tutorials - Indians are the best in IT - God bless you my brother.

  • @ritikashishodia675
    @ritikashishodia675 Год назад +2

    Bhaut bhaut shukriya..... Finally aa gaya kaise react app host ki jati h github pr

  • @gayathri-8-i6s
    @gayathri-8-i6s Год назад +2

    Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
    I got this error in console. I have made a website using APIs. Help me plz

  • @AshishRajpoot-oh2nr
    @AshishRajpoot-oh2nr Год назад +2

    thanks a lot sir for helping me trew this video

  • @Anand-zg6jv
    @Anand-zg6jv Год назад +2

    npm ERR! Missing script: "deploy"
    npm ERR!
    npm ERR! To see a list of scripts, run:
    npm ERR! npm run
    npm ERR! A complete log of this run can be found in:
    how to resolve this bro

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  Год назад +1

      "scripts": {
      "predeploy":"npm run build",
      "deploy":"gh-pages -d build"
      }
      ye add kiye the na ?

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 yes sir kiya tha still getting error

  • @cmijk
    @cmijk 9 месяцев назад

    why always small youtubers are very helpful🙂🙃 thanks so much buddy

  • @pranjalpagaria322
    @pranjalpagaria322 Год назад +3

    I am facing one issue like i have made one project in react using api the I am getting response in local host but not from github pages . What should i do now ?

    • @gayathri-8-i6s
      @gayathri-8-i6s Год назад +2

      same problem

    • @pranjalpagaria322
      @pranjalpagaria322 Год назад +1

      @@gayathri-8-i6s make sure that u have https in your url in yiur project . Mine problem gone after doing this

  • @pranjalpagaria322
    @pranjalpagaria322 Год назад +2

    finally found the correct video , thanks

  • @ajiteshmishra0005
    @ajiteshmishra0005 Год назад

    After publishing one time, if we have unpublished then how can we again publish after making changes?
    The "Save" button becomes blurred after publishing one time.

  • @mitalisalaria265
    @mitalisalaria265 Год назад +2

    i m unable to find gh-pages

  • @palakjain7612
    @palakjain7612 7 месяцев назад

    After deploying my app is working with the link in my laptop but it is not able to fetch in another laptop it is not showing any error just it in not fetching anything

  • @localhub3789
    @localhub3789 Год назад +2

    worked thanks

  • @youngspark3439
    @youngspark3439 2 года назад +2

    Thanks... best and simple way!

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад +1

      You're welcome!

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @BabaJiKiSakhiya
    @BabaJiKiSakhiya Год назад +1

    Thank u sir finally I found right tutorial and thanks a lot

  • @sagarjain4128
    @sagarjain4128 Год назад

    I made a todolist project, on the github I deployed it as you showed, but there I am not able to add any item as the way I can add on the localhost:3000, why?
    thankyou in advance!

  • @rishiAura
    @rishiAura 7 месяцев назад

    images ki jo path de rakha thi voh show nhi ho rhi deploy hone ke baad

  • @pasupathis1845
    @pasupathis1845 Год назад +2

    Great🥰

  • @gunjangoyal248
    @gunjangoyal248 Год назад +2

    Thanks..it was really helpful!!!!

  • @prushtikathrotiya5362
    @prushtikathrotiya5362 6 месяцев назад

    I got error in vs code in last minute of video please reply

  • @TechnicalKaifOfficial
    @TechnicalKaifOfficial Год назад +3

    Video Starts 2:01

  • @DisciplinedTrader555
    @DisciplinedTrader555 10 месяцев назад

    sir localhost pe chal rha lekin gh pages pe blank screen aa rhi....inspect>>console me error 404 aa rha

  • @akhaleshkumar5410
    @akhaleshkumar5410 Год назад +1

    Thanks you so much sir

  • @SidRileyWorld
    @SidRileyWorld Год назад +2

    Thank you Brother

  • @kamalpurohit7158
    @kamalpurohit7158 Год назад +1

    Easy explanation Thanks bro , Really appreciated

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  Год назад +1

      Glad it helped

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @rahmathirshad9480
    @rahmathirshad9480 Год назад

    I have deployed my project successfully but after deploying, images are not showing on github pages nor on localhost 3000 but before deploying it was working perfectly. please help

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  Год назад

      img online link add kiye the na ?

    • @rahmathirshad9480
      @rahmathirshad9480 Год назад

      @@codingmonksnewtonschool3847 nahi locally add kiya tha project me images folder me

    • @Anand-zg6jv
      @Anand-zg6jv Год назад +1

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @mayconkabitschke1518
    @mayconkabitschke1518 10 месяцев назад

    So acompanhei a tela , funcionou obrigado 🇧🇷

  • @anantsaxena5454
    @anantsaxena5454 Год назад

    Thanks

  • @RAJNISHKUMAR-lk5oq
    @RAJNISHKUMAR-lk5oq 2 года назад

    you are the best bro,
    main bahut confused tha , mere se ho hi nahi raha tha tumhari video dekhi to ho gaya,
    Great you are,
    ab choti se help or kar do,
    code modify karke fir se update kaise karenge ?

    • @11.naghmamahtab.27
      @11.naghmamahtab.27 2 года назад

      It is showing me repository not found .... Can u tell me how can I resolve it

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      jo bhi changes kiye unko commit krke vps repo me push kr do

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @imnihalsoni_
    @imnihalsoni_ Год назад

    Bhaiya but deploy karne ke baad mobile me kyun nahi chal raha

  • @rajatchaurasia2786
    @rajatchaurasia2786 Год назад +1

    Thanku sir

  • @shahzadshahzad475
    @shahzadshahzad475 Год назад

    well done sir g

  • @mithleshpatel1009
    @mithleshpatel1009 2 года назад

    I have followed every steps

  • @shrutiairen2696
    @shrutiairen2696 2 года назад

    Humare git hub ki setting me gh- pages ke options ki jagah pushes option hai to kya kare

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      repo ke setting wale section me aane ke bad left me pages ka option show krega vhin pr click karke aage ka kam kr lo :)

  • @AnilKumar-sz8su
    @AnilKumar-sz8su Год назад

    thanks for this info..

  • @bilalakbar4109
    @bilalakbar4109 Год назад

    Thank You

  • @satishhargod4787
    @satishhargod4787 Год назад

    How to republish my changes?

  • @meghrajdewangan6104
    @meghrajdewangan6104 2 года назад

    bro maine same vedio follow kiya but source me only main branch aa rha hai and gh-pages hai hi nhi.

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      github page active krna to

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @harshkureel3829
    @harshkureel3829 Год назад

    App published but it's all blank , pls help!

  • @ayushishukla6912
    @ayushishukla6912 Год назад

    git init karne pe show ho rha h git is not recognised

  • @mr.prakash1658
    @mr.prakash1658 Год назад

    Thank you So much Sir

  • @RAJNISHKUMAR-lk5oq
    @RAJNISHKUMAR-lk5oq 2 года назад

    thanks,
    bhai, ab code update karke fir se deploy kaise karenge,
    ?

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @mithleshpatel1009
    @mithleshpatel1009 2 года назад

    Not showing my app on GitHub pages

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      Can you tell us what problem r u facing?

    • @mithleshpatel1009
      @mithleshpatel1009 2 года назад +1

      @@codingmonksnewtonschool3847 after deployment on GitHub pages there is only url not content

    • @Anand-zg6jv
      @Anand-zg6jv Год назад +1

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @Manojkumar-ge3vu
    @Manojkumar-ge3vu Год назад

    👍👍👍

  • @meghrajdewangan6104
    @meghrajdewangan6104 2 года назад

    Kya project ko hosting se phle run krana nessasary hai kya?

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      bhai agr run hi nhi kia to host kasie hoga

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @11.naghmamahtab.27
    @11.naghmamahtab.27 2 года назад

    Sir , url open hora h ...lekin contents nhi aara... Plz help

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      project shi se setup kiye the na ??

    • @11.naghmamahtab.27
      @11.naghmamahtab.27 2 года назад

      @@codingmonksnewtonschool3847 yes sir

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @amishapatel849
    @amishapatel849 Год назад

    Thank you so much sir 🥰

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  Год назад +1

      Ur wlcm amisha

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @JeetneKiSanak
    @JeetneKiSanak 2 года назад

    thanks a million

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @QuikVerse
    @QuikVerse 2 года назад

    Thank you 😊

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      Ur wlcm

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @ICURIOUSMIND
    @ICURIOUSMIND 8 месяцев назад

    Similar Video check out : --->. Deploying a React App to GitHub Pages Step by Step Guide
    ruclips.net/video/Hd329g8iaa0/видео.html

  • @dardkasafeer9287
    @dardkasafeer9287 2 года назад

    thanks alot!!!

    • @codingmonksnewtonschool3847
      @codingmonksnewtonschool3847  2 года назад

      You're welcome!

    • @Anand-zg6jv
      @Anand-zg6jv Год назад

      @@codingmonksnewtonschool3847 npm ERR! Missing script: "deploy"
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run
      npm ERR! A complete log of this run can be found in:
      how to resolve this bro

  • @Shubuu7
    @Shubuu7 2 года назад

    Bro cricket score app video kab aayega 🙁🙁

  • @kazisohail6798
    @kazisohail6798 Год назад

    Thoda acche se banate video