Deploy Node.js and React Apps | Full Deployment /w Nginx VPS, SSL

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024
  • НаукаНаука

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

  • @psycodreamcx7739
    @psycodreamcx7739 3 года назад +31

    This is the most accurate tutorial to real deploy a frontend + backend, you're awesome, thanks!

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

      Compared to laravel it's really hard :X
      In Laravel you just push to git and it uploads all data to server.. There I see need every time build project after every web update :X

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

      @@pastuh build can be automated on Code side or server side you dont have to run Npm build

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

      Hey, please. How do I automate the build process@@sweatypotato248

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

    I randomly ended up on your channel and i continuously watching your videos and not getting bored like other Online tutorials. You are simply great!!!.

  • @ahmedkhlifi6941
    @ahmedkhlifi6941 Год назад +5

    nice! just don't forget to run 'ufw allow ssh' so you can't risk closing the ssh connection when you try to login next time

  • @usamairfan9573
    @usamairfan9573 2 года назад +11

    Truly helpful and amazing video. I did my deployment for the first time and because of you, it felt like a piece of cake. Thanks alot

  • @enesbc46
    @enesbc46 3 года назад +2

    Şafak adamsın be böyle bir video arıyordum ve bir Türkten bunu görmek... Çok sağol!

  • @johndowning7446
    @johndowning7446 2 года назад +5

    Fantastic video. Was able to bring up a series of react apps with SSL after struggling to deploy them behind docker nginx proxy container architectures. The video and supporting documents are perfect, thank you very much for the information, a real life saver!

    • @27sosite73
      @27sosite73 Год назад

      does this video explain docker + nginex + node or only nginex + node?
      ty

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

      @@27sosite73 didn't mention any docker just nginx with node and react

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

    Thanks bro, I've litreally wasted my whole day searching for this exact content.

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

    I really love this deployment tutorial of the Netflix app!

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

    Great tutorial, don't forget guys to allow ssh by "ufw allow ssh", so u can connect again

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

    Thank you so much Lama this is awesome. As a side note and warning for the rest of us, make sure to allow ssh before running "nginx 'Full Access'", nginx full access will only allow port 80 and 443. otherwise you will be locked out of your vps . just like I got locked out of my digitalocean droplet.

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

      Have you deployed?

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

      @@mohitckdubey yes i have

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

      I have been locked out my vps too, I had to disable firewall to access again how to allow SSH access please?

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

      it's "ufw allow ssh" I guess 😅

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

      @@biniteshome1403 Can you share your whole code because I'm having login problem. And I don't have much knowledge of react latest version. Will you please??

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

    You are a God send human being Lama, can't express how grateful I am to you

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

    Your tutorial is one of my best favourite channel, words cannot say how happy i am when found your channel. Please tell us how difference is deploying to hostinger shared hosting compared to single hosting!

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

    How I could miss this video from my fav dev Channel. Its been a week and could not the accurate videos. Finally found the exact one i am looking for.
    Still learning as beg. and your videos helped me alot.
    Thanks alot Safak

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

      مرحبا ممكن المساعده بخصوص هذا الفديو .. بعد الربط بين الدومين والاستضافه. كيف يمكن ان ارفع ملفات تطبيق ال نود جي اس اذا كانت ملفات كبيره في الفديو لم يشرح هذه الجزئيه. هل ممكن ان تساعدني في هذه المشكله او تشرحليها بشكل اكثر ..
      شكراً جزيلاً

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

    Perfect video, thank you so much!!! Small clarification for the uninitiated, I struggled to solve this problem so if you leave the server and you have as message connection time out each time without possibility to reconnect to your server, you must restart the firewall then reconnect. Once reconnected, you need to authorize ssh with this command: sudo ufw allow ssh
    You'll have no more connection problems

  • @gabsghidini
    @gabsghidini 2 месяца назад

    this tutorial has saved me, two times now, appreciate you!

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

    Thank you so much!! really this video help me to upload the project for my first client to VPS. Yo saved me, I've been watching other videos and reading other documentation and I hadn't been able to did it. I spent days to achieved it and thank to you I could do it! greetings from Latam! big hug!

    • @trechosdelivros4445
      @trechosdelivros4445 5 месяцев назад

      I'm in the same situation as you. can you help me ?

    • @miguelarenasrodriguez5830
      @miguelarenasrodriguez5830 5 месяцев назад

      @@trechosdelivros4445 what is your specific problem? If you follow the same steps in the video you’ll get it (obviously with different names for your project ). But might be could I help you

  • @ferdinandeke9590
    @ferdinandeke9590 3 года назад +7

    Words can't thank you enough bro..I'll definitely give a vote of thanks/acknowledgement to you on my applications once I deploy and get them running for business.. you're God sent man..
    Then I kind of have issues in reading data on select tags when performing the update part of my CRUDs... Also dependent tags have kept me at a place for 2 days now, I kind of got to figure it out today but it shows the retrieved data on my network inspection tool, but while reading it out on the page, it doesn't show the data's I see on my network🤦, kind of left where ever I had tags in my updates pages and went on with other things...if you could illustrate these in you next tutorials please, I would be grateful.. the dependent tags are like country->states relationships

  • @piyushmahapatra5402
    @piyushmahapatra5402 3 года назад

    I am crying with love for this channel.

  • @FirasKarboul
    @FirasKarboul 2 года назад +5

    your video is amazing dude, just one thing: don't forget to allow ssh in firewall, because when your IP is changed you won't be able to access to your vps from putty, if it ever happened to one of you, just access to your vps via your hosting vnc and write: ufw allow ssh then reload your server and reconnect from putty.

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

      Yeah got locked out of my VPS first time round, thanks

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

    This is the best RUclips on app deployment.
    Thank you so much. You made my day

  • @weedi5885
    @weedi5885 3 месяца назад

    The best tutorial I've seen about this topic thanks u man!

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

    Thank you after spending 12+ hours this one really helped

  • @StanOvidiu
    @StanOvidiu 3 года назад +3

    Your tutorials are so on point. Good job!

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

    you are such a kind person. You just nailed it and it is really helpful

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

    I can't stop watching this video😍 loved it. Thank you so much man❤

  • @kamranshahid8825
    @kamranshahid8825 3 года назад

    This tutorial solved my problem which I was stuck in for last 4 days. Thank you very much Lama Dev I am so going to subscribe this channel.

  • @comosaycomosah
    @comosaycomosah 3 месяца назад

    3 years still a lama

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

    Me here learning server management so i can use the knowledge on my freelance project. Thanks.

  • @saurabhnambiar5514
    @saurabhnambiar5514 3 года назад

    Bro really needed this very Little good content out there regarding real time deployment usiing nginx ...thanks

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

    best deployment tutorial thanks a lot Eng. Lama

  • @markkyokuhaire9721
    @markkyokuhaire9721 3 года назад

    He's back PEOPLE! Heeeezzz BACK!

  • @feth-eddinehanani7477
    @feth-eddinehanani7477 4 месяца назад

    can't find words to thank uuuu , perfeeect

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

    the best tutorial for junior devops :D

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

    at 17:42 if your page is not showing just disable firewall, run this command ufw disable

  • @keimmeraltuve8452
    @keimmeraltuve8452 3 года назад +7

    very appreciated, nice tutorual but you should pont that when activating the ufw you should add the ssh rules, so when you try to connect again later it will let you connect

    • @omardotbio
      @omardotbio 3 года назад +3

      I just locked myself out of my server lol.

    • @atulya3344
      @atulya3344 2 года назад +3

      @@omardotbio I did too

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

      @@atulya3344 rip lmao

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

      Here i am, reinstalling the OS xD

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

      @@shariqarif1476 lol

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

    Thank you very much. The best tutorial to deploy a MERN app.

  • @technoinfoworldwide2329
    @technoinfoworldwide2329 3 года назад +7

    Make deployment on ubuntu nginx, aws .also image upload on aws s3 using multers3 and aws sdk

  • @cina-tech
    @cina-tech 2 года назад

    Thank you bro. Your videos always a salvation to me

  • @jexeq
    @jexeq 3 года назад

    Hi Lama. Your tutorial helped me a lot. Hugs and Cheers 4 U!

  • @cleyton1986
    @cleyton1986 3 года назад

    Perfect. simple and objective.
    +1 registered!
    Suggestion: Also show on AWS.

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

    u r great bro , thank u

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

    Thanks. Your tutorial was well made and it help me a lot to put my react website online! :) Good job!

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

    When we enable ufw there is disruption on ssh connection as warned by the message, we can never again ssh into the server afterwards,

  • @navdeepsingh42983
    @navdeepsingh42983 3 года назад +2

    amazing tutorials. even i've seen you portfolio you've made amazing projects. could you please make videos tutorials on that projects too. like slack clone, RUclips, google, twitter clones and etc. please make tutorials on these, i'm waiting for it. keep making amazing production level projects.

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

    Harika ötesi bir video. Çok teşekkür ederim hocam. Sevgiler, saygılar.

  • @PeterAkaliro
    @PeterAkaliro 3 года назад

    Love tutorials, I just made a payment with your coupon. Thanks

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

    Can't describe the good feeling i have now
    Thanks:)

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

      مرحبا عندي بعض الأسئله عن هذا الموضوع فممكن اسئلك اذا انت فاهم الموضوع. انا بصراحه لغه الانجليزيه ليسه بالجيده. فأحببت اسئلك اذا ما في عندك مانع

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

    detailed, clean, effective

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

    I have subscribed, Liked and commented. Thanks for your effort.

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

    You are the BEST! Thank you so much, it was very helpful for me!!!

  • @chathurasamarajeewa1578
    @chathurasamarajeewa1578 4 месяца назад

    Need to update the content. Static files were not loaded and the config needed to change a little bit. Thank you for the awesome tutorial

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

    would have like the portion over DNS config but still a huge banger this video. thk's boss

  • @raouffilali9617
    @raouffilali9617 5 месяцев назад

    Truly helpful and amazing video

  • @muchamaddestafadilah
    @muchamaddestafadilah 3 года назад

    Mantap Om, englishnya clear banget ...

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

    thanks you so much you learn all the way to do what i want, really thanks 😄

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

    Nice explanation!! Thats helps a lot

  • @vinaysehwag459
    @vinaysehwag459 3 года назад +1

    Amazing tutorial LamaDev , you give us inspiration to learn everyday something new and make something new everyday. Can you make tutorial on deploying this project free . It will help most of the people like me , who are learning not able to afford buying Hostinger.

  • @אילןלוי-ק9ד
    @אילןלוי-ק9ד 2 года назад

    Be blessed from above only for the best!

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

    thanks man , you saved many lifes

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

    a helpful RUclips video ever

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

    great work... amazing video...

  • @iqbal5942
    @iqbal5942 3 года назад

    Lama in your next project before starting coding plz give a brief overview of how you think of starting any project?

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

    underrated

  • @tiri2.
    @tiri2. Год назад

    Thank you so much. This is what i need!

  • @coder5336
    @coder5336 3 года назад

    Thanks for the detailed video. which hardware I should choose for the 10 project portfolio?

  • @WebTrend
    @WebTrend 3 года назад

    Wow great bro keep going
    I decided to share my knowledge on RUclips as well 🙏👍

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

    best practical tutorial ever thank you

  • @kupinaa
    @kupinaa 11 месяцев назад

    Hi, thank you for the awesome video!
    What I would like to know is if there is a reason to proxy pass to the public ip and use cors instead of proxy passing to localhost, which theoretically could lead to better performance?

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

    Amazing ! Just amazing.

  • @javalok9575
    @javalok9575 3 года назад

    great Thank you @Lama Dev , please response when stuck on somewhere , one question , like netflix which using aws clould , is it good to use vps ? and what about security and streaming speed ?

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

    Amazing video really helpful! Thanks!

  • @AdamMaichrzik
    @AdamMaichrzik 3 года назад

    As always - awesome!

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

    for those who cant similiar result like 17:59
    sudo systemctl reload nginx

  • @kantyDarius
    @kantyDarius 3 года назад

    This is exactly what I was looking for 👌

  • @iqbal5942
    @iqbal5942 3 года назад +2

    Hope next project is on an e-commerce website like amazon 😁

    • @wotizit
      @wotizit 3 года назад +2

      then we can get hired at amazon xD

    • @iqbal5942
      @iqbal5942 3 года назад +1

      @@wotizit inshallah

  • @kavinkumarb7323
    @kavinkumarb7323 3 года назад

    Waiting for next video 🍃

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

    Thank you very much. Easy to follow!

  • @iotexnoob5305
    @iotexnoob5305 2 года назад +3

    Hey, I followed all the steps all the way to 17:50 but for some reason I get this error with nginx -t :
    nginx: [crit] pread() "/etc/nginx/sites-enabled/neas" failed (21: Is a directory)
    nginx: configuration file /etc/nginx/nginx.conf test failed
    Do you know of any fixes?

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

      hey! have you solved this problem? i have a same one

  • @yakupaydn6213
    @yakupaydn6213 3 года назад

    For a 4-5 apps portfolio which server do you recommend? Thank u very much 👏👏👏

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

    amazing bro, thank you so much!

  • @adabachir-dc2ev
    @adabachir-dc2ev 4 месяца назад +1

    i have a big problem
    can anyone help me
    when i deploy react, nodejs with nginx , after two days , nginx consume all the CPU until 99.9

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

    Thanks so much, this is very helpful.

  • @mehulj4430
    @mehulj4430 3 года назад

    Thank you for it man love it.

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

    You're the MAN.💌

  • @lytuan5836
    @lytuan5836 3 года назад +1

    really useful with me, thanks a lot

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

    I love you bro! Thanks so much!

  • @acearvingando6848
    @acearvingando6848 3 года назад

    you earned a subscriber here...
    awesome tutorial... 👏

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

    This is great!!

  • @supunprasad9482
    @supunprasad9482 2 месяца назад

    thank you lama dev

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

    If anybody had a connection problem to their host via SSH after that, for me it was because of ufw locking me out. I had to reinitialize firewall in hostinger settings, and then after i could connect again, re-enable ufw and adding "ufw allow ssh". All good now !

  • @rajshrishrimal2653
    @rajshrishrimal2653 3 года назад +1

    Great video 😍

  • @КириллУшаков-ы5щ

    Thank you very much bro!

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

    Thank you for this tutorial !

  • @mexicanmax227
    @mexicanmax227 3 года назад

    Liked and subscribed babyyy 😎

  • @Логовотестировщика

    Wow! Good job! Thanks!

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

    bro you are a legend please can you make same video with go daddy VPS?

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

    make a video on how to deploy the same netflix project with admin for free. BTW amazing work you are doing in this community
    THANK YOU SO MUCH.

  • @kratos6619
    @kratos6619 3 года назад

    thank you lama dev !

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

    Merhaba, çok açıklayıcı olmuş ama aklımda bir soru işareti kaldı. Api içerisindeki back-end main index.js dosyasında https ile alakalı bir şey yapmadın sadece nginx içerisinde bir paket yükledin bu nasıl olabiliyor? Bu şekilde https olabiliyor mu bir site back-end'de hiçbir belirtme yapmadan

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

    Thanks Lama for great contents
    I m just trying to deploy one app on nginx everythings works fine, but i can't reach my assets folder located in my api. /api/assets/images. Please can you give some trics?