How to Deploy a React App to Netlify | Quick & Easy!

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • Hey guys, welcome back! In this video, I will be showing you how to deploy a React application to Netlify. I'll walk you through how to create a Netlify account, set up your app for deployment, and deploy the app to Netlify. In addition, I'll also show you how to update and delete your app from Netlify.
    If you don't know what Netlify is, Netlify is a hosting service for web applications. It provides a continuous delivery service that takes care of building, deploying and hosting your site. Netlify is a great option if you want to focus on your application code and not have to worry about the infrastructure to deploy it.
    My Website: arpanneupane.com
    My GitHub: github.com/arpanneupane19
    My Programming Gear :
    Keyboard: amzn.to/42vXkxh
    Laptop: amzn.to/3CkAP3W
    Laptop Stand: amzn.to/3X116Oi
    Desk: amzn.to/43wmIEt
    Monitor: amzn.to/42BAaFH
    Monitor Arm: amzn.to/3NR0APS
    Chair: amzn.to/42vvKAn
    Desk Mat/Mousepad: amzn.to/43AhKqj
    Microphone: amzn.to/45RuQ43
    Headphones: amzn.to/445sf4R
    Official React Documentation: reactjs.org/
    Official Netlify Documentation for Custom Domains: docs.netlify.com/domains-http...
    #LearnToCode // #React // #Programming
  • Наука та технологія

КОМЕНТАРІ • 63

  • @2ru2pacFan
    @2ru2pacFan Рік тому +5

    You're never going to believe this dude but I spent 7 and a half hours trying to deploy via manually, CLI and the site but nothing worked until your video! I can now finally sleep in peace thanks to you! OMG! God bless you!

    • @notlikejericho
      @notlikejericho Рік тому +2

      OMG SAME, even GPT can't help

    • @2ru2pacFan
      @2ru2pacFan Рік тому

      @@notlikejericho I feel your pain bro! 😳 I used Google Bard, GPT and Bing but they all didn't work until I clicked on his video... I felt my sanity come back lol

  • @EnglishRain
    @EnglishRain Рік тому +2

    I LOOOOOVE Netlify, it is soo simple & works everytime! Thanks for the tut!

  • @SR3371
    @SR3371 6 місяців тому +1

    I'm no type of pro or experienced person when it comes to this, I pushed everything to git and then tried to deploy a site straight form my git repo but always had an issue with my build dependencies, I followed you and got it done within a second. Appreciate your help!

    • @RahulDawpersad_TheDeveloper
      @RahulDawpersad_TheDeveloper 5 місяців тому

      I also had the same issue, so what i did was delete the site from the hosting platform and in vs code terminal i entered npm run build and that build folder that was created i dropped and deployed it and it worked, i had the problem you are or was facing, must try it, if u still facing it

  • @Tad4546
    @Tad4546 8 місяців тому +1

    🙆🏾‍♂️🙆🏾‍♂️why was this so simple and straightforward, after spending several days on other tutorials...👊🏿👊🏿thanks a lot man

  • @bjjiscoolman
    @bjjiscoolman 2 роки тому +5

    TYSM I was having trouble deploying my site lol.

  • @Mahkmann
    @Mahkmann Рік тому

    Super useful - thanks for the video!

  • @learnwithpash1541
    @learnwithpash1541 2 роки тому +1

    I love it. Thanks Arpan!

  • @coldnovagamer
    @coldnovagamer 6 місяців тому

    simple, clear, and easy

  • @Genexrex
    @Genexrex 9 місяців тому

    Thanks For the tutorial bro, was really struggling on this part

  • @KingPacavision
    @KingPacavision 9 місяців тому +2

    I tried for so long with manual deployment watched this video and 10 minutes later my entire site is deployed 😭. Thank you

  • @dooistyping158
    @dooistyping158 10 місяців тому

    thanx a lot bro! it works from the first time

  • @woestyn202
    @woestyn202 3 місяці тому

    Thank you, this was a great help to me!

  • @sylviaboyani1707
    @sylviaboyani1707 Рік тому

    Thanks Arpan keep going life saver!

  • @chasingmillions8584
    @chasingmillions8584 11 місяців тому

    Wow!!! This was SO HELPFUL!!! Thank you!!!!

  • @hawiedawitt
    @hawiedawitt Рік тому +1

    Dude you're the best

  • @MinisterGold
    @MinisterGold Рік тому +1

    I was briefly your instructor at Coder Kids. You've been keeping pretty busy. Good job.

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  Рік тому +1

      Haha yeah! I remember you teaching me Scratch. Thanks for helping me get started.
      I haven’t uploaded as much since I started high school and have been busy with internships.
      Hope all is well !

    • @MinisterGold
      @MinisterGold Рік тому +1

      @@ArpanNeupaneProductions Makes sense. Gotta prioritize.

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  Рік тому

      @@MinisterGold Lol yep

  • @manpreetkaur5568
    @manpreetkaur5568 Рік тому

    Thanks..Very helpful

  • @foofoo17
    @foofoo17 9 місяців тому

    thank you sir!

  • @antiBud
    @antiBud 11 місяців тому

    thanks to this!

  • @theninjacoder2213
    @theninjacoder2213 Рік тому

    thanks very helpful

  • @ssk7690
    @ssk7690 Рік тому

    I've been using netlify to host react apps. I just import one from github and deeply it. I saw in the deploy log of netlify that it creates a build folder itself. Does my method have any implications? Can you please tell this.

  • @idany1994
    @idany1994 Рік тому

    tnx bro helps me alot

  • @williamdevonshire356
    @williamdevonshire356 Рік тому

    perfect thanks 👍🏻

  • @danielMangal
    @danielMangal Рік тому

    I will try it now. I will tell if if worked! from Mayotte near Madagascar

    • @danielMangal
      @danielMangal Рік тому

      It working so well and it is so simple thank you!! May God bless you. I hope that you believe that Jesus-Christ die for your sins to go to heaven!

  • @williamdevonshire356
    @williamdevonshire356 Рік тому

    how would we do the backend as well?

  • @yanssouu8299
    @yanssouu8299 Рік тому

    thank you very much boss !

  • @iconicwebdesigners6764
    @iconicwebdesigners6764 2 роки тому +2

    where would I be without UA-cam mannnnn

  • @thestranger2309
    @thestranger2309 Рік тому

    thanks for you and #netlify♥

  • @samueloso8393
    @samueloso8393 2 роки тому +1

    Hi, do I need to run yarn build again if I need to update my site before dropping it on netlify? Thanks for the video!

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  2 роки тому +3

      If you want to update your site on Netlify, you have to run build again so that the changes are seen in the build folder. Then you can just drag and drop it :)

    • @samueloso8393
      @samueloso8393 2 роки тому

      @@ArpanNeupaneProductions thanks for the help!

  • @lkharfijalal5792
    @lkharfijalal5792 2 роки тому +2

    Thanks bro

  • @echchafykyotmane6006
    @echchafykyotmane6006 Рік тому

    thanks

  • @RacharlaSaiKumar
    @RacharlaSaiKumar 10 місяців тому

    my backend is in another folder, then how can i do npm run build for frontend and backend folders

    • @renealbrechtsen9743
      @renealbrechtsen9743 9 місяців тому

      If you haven't figured this out by now; you've gotta be in the frontend directory.

  • @elsamixd8477
    @elsamixd8477 8 місяців тому

    some how when I run the build command, it doesn't create the build folder
    :(, any suggestions

  • @taufiquekhan9530
    @taufiquekhan9530 10 місяців тому

    When i deployed its showing only css html and not the api integration ui from omdb

  • @xxxxxxxxxxxxxxxxk
    @xxxxxxxxxxxxxxxxk Рік тому +1

    1000 THX from Morocco !!!!!!!!

  • @aissata5258
    @aissata5258 Рік тому

    Hello. I have a multiple page app with React. Only the main page works. How can i get it work please ?

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  Рік тому

      Umm is that because whenever you refresh on another route, Netlify doesn’t render other pages?

    • @aissata5258
      @aissata5258 Рік тому

      @@ArpanNeupaneProductions Yes. I got a "Page Not Found" error when I try to get to the others page of my app

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  Рік тому +1

      @@aissata5258 Okay, in your build folder, make a file called "_redirects". Then, add this content to the file and deploy like demonstrated in the video: /* /index.html 200

    • @aissata5258
      @aissata5258 Рік тому

      @@ArpanNeupaneProductions It works 😃 ! Thank you so much

    • @ArpanNeupaneProductions
      @ArpanNeupaneProductions  Рік тому

      @@aissata5258 Anytime :)

  • @bekzatmurat1341
    @bekzatmurat1341 Рік тому

    Doesn't work just shows blank. It's not help me

  • @funshoajayi2224
    @funshoajayi2224 Рік тому

    Doesn't work just shows blank

    • @Spawn_187
      @Spawn_187 Рік тому +1

      I had the same problem. What fixed it for me was removing homepage from my package json file.

    • @funshoajayi2224
      @funshoajayi2224 Рік тому +1

      @@Spawn_187 oh thank...I'll try that

  • @niloben659
    @niloben659 Рік тому

    Nice video, thanks.