How to deploy a React, Node or Express JS application to production | Digital Ocean

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • In this video we are going to learn deployment of react, node or express js application to production, In this video we will use digital ocean cloud server for deployment of our application. this process works for every nodejs based application which runs on development server.....
    Thanks for watching....
    Resource Link
    webscript.info...

КОМЕНТАРІ • 112

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

    great video from start to finish. i used this video to successfully deploy my backend server. i didnt need the build steps because i would not be showing any frontend. 10/10 video!

  • @MichelangeloSosa
    @MichelangeloSosa 3 роки тому +3

    This was fantastic! I was having trouble with the Nginx config and pm2, your video cleared all that up for me. Thank you for sharing.

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

    Thank you so much. This is Really Awesome!!! Very details. Even in 2022 It works Nice...
    Thanks A Lot Friend!...

  • @rush3986
    @rush3986 3 роки тому

    Thank you very much. Spent days to find such a clear explaination. Love it... ❤

  • @winko7900
    @winko7900 3 роки тому

    I got trouble learning Digital Ocean before this video, Thank so much bro!!

  • @augustineigwe8545
    @augustineigwe8545 4 роки тому

    this video really made me understand Digital Ocean as a beginner. Thanks Khan for boosting my confidence

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

    Great video

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

    This was good on the gangster-nerd level... like the best tute over. Please don't say the word godaddy though I become ill. lol

  • @suatbayrak2703
    @suatbayrak2703 3 роки тому +3

    could you make a video for deploying a mern stack ?

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

    Such an elaborate video on an important topic. Thank you so much for sharing.

  • @bholaarathi4318
    @bholaarathi4318 3 роки тому +1

    after pm2 website run on the domain but IP address not run

  • @guy.g
    @guy.g 3 роки тому +1

    Hey man, thanks for the tutorial. Super helpful as DigitalOcean can be hard to navigate the first time

  • @Ash-ue8sk
    @Ash-ue8sk Рік тому

    Nice explanation.. worked like a charm

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

    Thank you so much sir

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

    thanks for the tutorial , i found out that unless a person works for a startup they are unlikely to build a full project on their own , mostly they will be mantaining or enhancing the available project , ,,so can you make a series on how companies manage the production code and how they add new code to an existing project and test it without breaking the production code ??

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

      They use staging server to firscheck if everything will work through remote and then deploy on production

  • @carlosmdez
    @carlosmdez 3 роки тому +1

    You're amazing bro! Thanks for sharing your knowledge!

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

    Really helpful tutorial. Thanks a lot!!

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

    💯💯💯💯💯

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

    Brother I have to deploy my front end reactjs. And
    Back end in nest is with MySQL. Please tell me or give me some good references I am very new I really don't have any idea about deploying project

    • @balendrakumar3847
      @balendrakumar3847 3 роки тому

      By the way it was very informative video for me you have explained very well

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

    Bro your contents and way of explaining is really great 🔥🔥

  • @vickyvijay-hn1hf
    @vickyvijay-hn1hf 2 роки тому

    Really thankful bro... 🤩🤩🤩🤩🤩🤩

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

    at 9:45 makes me suscribe to Your Channel, Thank You for video

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

    Hello,
    I have a problem with my subdirectory (/qwerty). When I configure like this, my subdirectory returns 404.
    Anyone can help me??

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

    Thanks a ton!

  • @therevealmusic
    @therevealmusic 3 роки тому

    hi if I may ask is possible to hide all the source file when we view page source so that we don't see the files during production I think its called obsfication

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

    nice contenthad been searching fiot the same from last 2 months keep the good work continous if possible then make tutorials on micro services or whole course for the mern stack development on ec2

  • @techtalk6365
    @techtalk6365 3 роки тому +1

    for mern stack follow the same ? thanks

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

    what about backend and Database?. Means where we can deploy these?

  • @soultouchingsongs
    @soultouchingsongs 3 роки тому

    Excellent 👍🙌. Thanks a ton.🙏

  • @ManishChoudhary-bb2mn
    @ManishChoudhary-bb2mn 3 роки тому

    Great video sir

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

    5 out of 5

  • @zahidrahman3499
    @zahidrahman3499 3 роки тому +1

    thanks a lot. Such a nice video. Bro can you make a video of deploying same application using deployment tools like ansible,chef etc.

  • @sandeeptummalagunta8680
    @sandeeptummalagunta8680 3 роки тому

    Excellent tutorial

  • @rakibulislamrafi9892
    @rakibulislamrafi9892 3 роки тому

    thank you so much for this video

  • @ayushKumar-9835
    @ayushKumar-9835 2 роки тому

    Thanks man, helped a lot 😄

  • @Shou06
    @Shou06 3 роки тому

    Rizwan , Do you know how we can make this site run with backend server too in digital ocean ?

  • @maxbatyrov1676
    @maxbatyrov1676 3 роки тому +1

    Hi, thanks a lot for the video. How can I update the website with the changes I have pushed to github. I've pulled the changes from github to nginx server, but I don't understand how to update the website itself.
    Thanks in advance

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

      You first push your changes to your repository then pull your changes in your droplet project folder once pull successfully completed use pm2 to restart your application “pm2 restart appName”

  • @pavantest2173
    @pavantest2173 4 роки тому +1

    HI Bro, Thanks for the Videos. Your videos are really giving me confidence. Can you make a React App on Push Notification ? And which can be integrated to any website.

  • @shantanugupta4932
    @shantanugupta4932 3 роки тому +1

    I have used your referral link to signup on digital ocean but didn't get $100.

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  3 роки тому

      $100 reward is from digital ocean service bro I can’t help you in this. May be offer is not valid anymore I have to check on the platform

  • @AliHassan-qd7lm
    @AliHassan-qd7lm 2 роки тому +1

    bro how to add env variables in droplet please tell this question urgent need

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

      You can add inside ~/.bashrc file and then run source ~/.bashrc

    • @AliHassan-qd7lm
      @AliHassan-qd7lm 2 роки тому

      @@RizwanKhanDeveloper but what is the syntax of adding and run?

  • @alionamarshall1355
    @alionamarshall1355 3 роки тому +1

    Good tutorial, I have been looking for a way to do this for more than a week now. Thanks so much, you have a new subscriber. But I don't understand the file you're working on. Is that the root folder that has your server or did you cd to the front-end(react js) because you did npm start and the app started.

    • @TheChilllin
      @TheChilllin 3 роки тому

      Hey bro you can start your react app from anywhere just have to set up the package.json of the current folder with the script pointing to the react folder like this -> "start": "npm start --prefix ../theReactfolder" don't forget the --prefix

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

    nice video and what about mysql database

  • @naveedkamal9190
    @naveedkamal9190 3 роки тому

    Hey guys if you have done everything correctly and still get 'This site can’t be reached' error you can type in the command 'sudo ufw allow 9000' this will enable ubuntu firewall(ufw) for port 9000

  • @samakinzo6391
    @samakinzo6391 3 роки тому

    This is a react app run on serve side ?

  • @vikrantavishwakarma3281
    @vikrantavishwakarma3281 3 роки тому

    how can we deploy next.js project on cpanel. without varcel

  • @tultul712
    @tultul712 3 роки тому

    Excellent ! Thank you ! any idea how to deploy with nodejs API?

  • @sdesai6991
    @sdesai6991 4 роки тому +1

    Thank you bro. I learn lots from you. please tell me how can I add message notification. can I use web socket?

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  4 роки тому +1

      You don’t need to use web socket in this project because we are already using a real-time firestore database so we need to add logic for notifications

    • @sdesai6991
      @sdesai6991 4 роки тому

      @@RizwanKhanDeveloper ok

  • @anmolrathi4054
    @anmolrathi4054 3 роки тому +1

    but bro if we use mern means also use MongoDB key so how to deploy in digital ocean

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  3 роки тому

      First install mongodb in digital ocean cloud and you can follow installation process either from mongodb official doc or digital ocean blog

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

      @@RizwanKhanDeveloper but we also install nodejs and express js inside the digital ocean this is true bro or not

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  3 роки тому

      @@anmolrathi4054 expressjs is just a library and it is part of your project but nodejs is like your system software and similarly mongodb needs to installed like nodejs

    • @anmolrathi4054
      @anmolrathi4054 3 роки тому +1

      @@RizwanKhanDeveloper but bro when we deploy mern project in Heroku so on that time we also type MongoDB key but in digitalocean where I type so please tell and make a video on this topic but please tell bro

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

      @@RizwanKhanDeveloper so we put mongodb and node js install in digital ocen command or install by single-app cluster please tell bro

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

    great stuff! How would you deploy multiple apps?

  • @HarshSingh-hk8fe
    @HarshSingh-hk8fe 3 роки тому

    Hi sir thank you for such awesome tutorial i just want to ask one question, sir in future how can we update our webapp( do some changes or add new features)

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  3 роки тому +1

      you can have your project in some repository and pull the changes in droplet

  • @dalbyweekly439
    @dalbyweekly439 3 роки тому

  • @shashib16
    @shashib16 3 роки тому

    Hi brother, Can I deploy MERN app on cPanel?

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

    Hi. How you install git on ubuntu server ? Could you please tell me

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

    sound is too low bro. try upgrading that

  • @mohdnawazishalam3255
    @mohdnawazishalam3255 4 роки тому +1

    Cheapest services for hosting mern application ??

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  4 роки тому +1

      Mohd Nawazish Alam There are two types of hosting available shared hostings and cloud, for applications which runs on node server you must need to have cloud hosting and cloud is costly compare to shared hosting but digital ocean is reasonable and if you use my referral you will also get $100 credit in your digital ocean account

    • @mohdnawazishalam3255
      @mohdnawazishalam3255 4 роки тому +1

      @@RizwanKhanDeveloper how much digital ocean annually cost for small type application where there is monthly user of aproxx 10k ??

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  4 роки тому +1

      Mohd Nawazish Alam Minimum it will cost you around $5 per month as you can see in the video

    • @mohdnawazishalam3255
      @mohdnawazishalam3255 4 роки тому

      @@RizwanKhanDeveloper thanks a lot bro

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  4 роки тому +1

      Mohd Nawazish Alam your welcome bro

  • @dbz4u958
    @dbz4u958 4 роки тому +2

    Bro are you on LinkedIn

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

    i was looking for a copper instead i found diamond (not gold)!

  • @talibahemad8632
    @talibahemad8632 4 роки тому +2

    Bhai make react portfolio website

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  4 роки тому +1

      Sure first I m going to bring e-commerce mern stack series then portfolio

    • @talibahemad8632
      @talibahemad8632 4 роки тому

      @@RizwanKhanDeveloper Thanks bhai

  • @haidaralichamcham3553
    @haidaralichamcham3553 3 роки тому +1

    How to convert http request to https in ngnix

    • @RizwanKhanDeveloper
      @RizwanKhanDeveloper  3 роки тому

      First of all you need ssl certificates, and you can get free ssl certificates from digital ocean just google it

    • @haidaralichamcham3553
      @haidaralichamcham3553 3 роки тому

      @@RizwanKhanDeveloper lets's encrypt or any other should I use

  • @mohitvashisht6617
    @mohitvashisht6617 3 роки тому +1

    4.8

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

    How i can contact you?

  • @Avinashkumar-xt4zq
    @Avinashkumar-xt4zq 2 роки тому

    5

  • @tettehmichael7389
    @tettehmichael7389 4 роки тому +1

    Riz good work.. But you're not replying msg on WhatsApp

  • @abhishekkanuganti2931
    @abhishekkanuganti2931 4 роки тому

    5/5

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

    Great video

  • @therevealmusic
    @therevealmusic 3 роки тому

    hi if I may ask is possible to hide all the source file when we view page source so that we don't see the files during production I think its called obsfication