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

  Рет қаралды 152,111

Lama Dev

Lama Dev

Күн бұрын

Full VPS deployment using Nginx, reverse proxy, pm2, SSL, and Lets Encrypt.
Get Hostinger Discount: hostinger.com/lamadev Coupon Code: LAMADEV
MERN Stack Netflix app all parts: • React Node.js Netflix ...
Support the channel: buymeacoffee.com/lamadev
Deployment documentation: github.com/safak/youtube/tree...
Join Lama Dev groups
Facebook: / lamadev
Instagram: / lamawebdev
Twitter: / lamawebdev
Discord: / discord
0:00 Introduction
0:35 Which Hosting Should I Choose?
02:23 Connecting to a VPS with SSH
06:10 VPS Installing Nginx
10:00 VPS firewall
11:37 Understanding Nginx
17:50 React and Node Apps Production Configuration
23:45 Deploying Node.js App to a VPS
31:42 Using PM2 on a VPS
33:31 Deploying React App to a VPS
39:08 Using domain on an Nginx Server
47:40 HTTPS SSL with Let's Encrypt
51:31 Outro

Пікірлер: 221
@usamairfan9573
@usamairfan9573 Жыл бұрын
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
@thi_thi_ko
@thi_thi_ko Жыл бұрын
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!!!.
@AlejandroRL868
@AlejandroRL868 2 жыл бұрын
This is the most accurate tutorial to real deploy a frontend + backend, you're awesome, thanks!
@dongyuexu4823
@dongyuexu4823 10 ай бұрын
I really love this deployment tutorial of the Netflix app!
@johndowning7446
@johndowning7446 Жыл бұрын
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 11 ай бұрын
@@27sosite73 didn't mention any docker just nginx with node and react
@ahmedkhlifi6941
@ahmedkhlifi6941 6 ай бұрын
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
@StanOvidiu
@StanOvidiu 2 жыл бұрын
Your tutorials are so on point. Good job!
@enesbc46
@enesbc46 2 жыл бұрын
Şafak adamsın be böyle bir video arıyordum ve bir Türkten bunu görmek... Çok sağol!
@kamranshahid8825
@kamranshahid8825 2 жыл бұрын
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.
@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 Жыл бұрын
مرحبا ممكن المساعده بخصوص هذا الفديو .. بعد الربط بين الدومين والاستضافه. كيف يمكن ان ارفع ملفات تطبيق ال نود جي اس اذا كانت ملفات كبيره في الفديو لم يشرح هذه الجزئيه. هل ممكن ان تساعدني في هذه المشكله او تشرحليها بشكل اكثر .. شكراً جزيلاً
@kunaldhuria3935
@kunaldhuria3935 10 ай бұрын
You are a God send human being Lama, can't express how grateful I am to you
@saurabhnambiar5514
@saurabhnambiar5514 2 жыл бұрын
Bro really needed this very Little good content out there regarding real time deployment usiing nginx ...thanks
@RollingRhinoDeveloper
@RollingRhinoDeveloper Жыл бұрын
Thank you after spending 12+ hours this one really helped
@marioroland2176
@marioroland2176 2 жыл бұрын
This is the best KZbin on app deployment. Thank you so much. You made my day
@nazirmudumane8830
@nazirmudumane8830 Жыл бұрын
I can't stop watching this video😍 loved it. Thank you so much man❤
@rajatayyab2117
@rajatayyab2117 7 ай бұрын
you are such a kind person. You just nailed it and it is really helpful
@ferdinandeke9590
@ferdinandeke9590 2 жыл бұрын
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
@akhtarmoradi8609
@akhtarmoradi8609 Жыл бұрын
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!
@alinamanmedia
@alinamanmedia 2 жыл бұрын
Thank you very much. The best tutorial to deploy a MERN app.
@miguelarenasrodriguez5830
@miguelarenasrodriguez5830 18 күн бұрын
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!
@cina-tech
@cina-tech Жыл бұрын
Thank you bro. Your videos always a salvation to me
@TheArphan
@TheArphan 2 жыл бұрын
Thanks. Your tutorial was well made and it help me a lot to put my react website online! :) Good job!
@mehulj4430
@mehulj4430 2 жыл бұрын
Thank you for it man love it.
@mhslekbar
@mhslekbar 6 ай бұрын
best deployment tutorial thanks a lot Eng. Lama
@cleyton1986
@cleyton1986 2 жыл бұрын
Perfect. simple and objective. +1 registered! Suggestion: Also show on AWS.
@achrafboucetta2275
@achrafboucetta2275 Жыл бұрын
Great tutorial, don't forget guys to allow ssh by "ufw allow ssh", so u can connect again
@arturmusienko397
@arturmusienko397 2 жыл бұрын
You are the BEST! Thank you so much, it was very helpful for me!!!
@jexeq
@jexeq 2 жыл бұрын
Hi Lama. Your tutorial helped me a lot. Hugs and Cheers 4 U!
@kantyDarius
@kantyDarius 2 жыл бұрын
This is exactly what I was looking for 👌
@yamlakkassahun6650
@yamlakkassahun6650 2 жыл бұрын
best practical tutorial ever thank you
@piyushmahapatra5402
@piyushmahapatra5402 2 жыл бұрын
I am crying with love for this channel.
@ferdinandeke9590
@ferdinandeke9590 2 жыл бұрын
😀😀.. aswearuGad!!
@dekafmusic
@dekafmusic 18 күн бұрын
Me here learning server management so i can use the knowledge on my freelance project. Thanks.
@janiodrey7858
@janiodrey7858 2 жыл бұрын
Thank you very much. Easy to follow!
@tiri2.
@tiri2. Жыл бұрын
Thank you so much. This is what i need!
@AdamMaichrzik
@AdamMaichrzik 2 жыл бұрын
As always - awesome!
@avijain6672
@avijain6672 9 ай бұрын
Thanks bro, I've litreally wasted my whole day searching for this exact content.
@senimkl
@senimkl 7 ай бұрын
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
@aemde
@aemde 4 ай бұрын
detailed, clean, effective
@piotrekx
@piotrekx Жыл бұрын
the best tutorial for junior devops :D
@eumm11
@eumm11 2 ай бұрын
amazing bro, thank you so much!
@navdeepsingh42983
@navdeepsingh42983 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, KZbin, google, twitter clones and etc. please make tutorials on these, i'm waiting for it. keep making amazing production level projects.
@PeterAkaliro
@PeterAkaliro 2 жыл бұрын
Love tutorials, I just made a payment with your coupon. Thanks
@muchamaddestafadilah
@muchamaddestafadilah 2 жыл бұрын
Mantap Om, englishnya clear banget ...
@laurentgourouvin2587
@laurentgourouvin2587 2 жыл бұрын
Thank you for this tutorial !
@yazilimciningalaksirehberi
@yazilimciningalaksirehberi 6 ай бұрын
Harika ötesi bir video. Çok teşekkür ederim hocam. Sevgiler, saygılar.
@robertoaffuso8753
@robertoaffuso8753 Жыл бұрын
Amazing video really helpful! Thanks!
@haiderkhalil9513
@haiderkhalil9513 7 ай бұрын
You're the MAN.💌
@ahmedaraby9590
@ahmedaraby9590 2 ай бұрын
Nice explanation!! Thats helps a lot
@CharcoalDaddyBBQ
@CharcoalDaddyBBQ 8 ай бұрын
This is great!!
@WebTrend
@WebTrend 2 жыл бұрын
Wow great bro keep going I decided to share my knowledge on KZbin as well 🙏👍
@ponmanir6017
@ponmanir6017 Жыл бұрын
I have subscribed, Liked and commented. Thanks for your effort.
@Mohammad-pv5zt
@Mohammad-pv5zt 8 ай бұрын
incredible thanks
@nicolasfernandez7996
@nicolasfernandez7996 2 жыл бұрын
I love you bro! Thanks so much!
@wes7bg
@wes7bg Ай бұрын
Amazing ! Just amazing.
@kratos6619
@kratos6619 2 жыл бұрын
thank you lama dev !
@bilalarain4632
@bilalarain4632 8 ай бұрын
thanks man , you saved many lifes
@smydo1164
@smydo1164 3 ай бұрын
thanks you so much you learn all the way to do what i want, really thanks 😄
@wissemgrari
@wissemgrari 11 ай бұрын
Thanks so much, this is very helpful.
@user-qw9uo4wo5p
@user-qw9uo4wo5p 2 жыл бұрын
Wow! Good job! Thanks!
@unknown-1985
@unknown-1985 8 ай бұрын
Teşekkürler !
@acearvingando6848
@acearvingando6848 2 жыл бұрын
you earned a subscriber here... awesome tutorial... 👏
@bricegnanago409
@bricegnanago409 Жыл бұрын
Thank you so much Lama Dev
@user-ud1gq6sj2f
@user-ud1gq6sj2f 6 ай бұрын
Thank you very much bro!
@markkyokuhaire9721
@markkyokuhaire9721 2 жыл бұрын
He's back PEOPLE! Heeeezzz BACK!
@ahmedelgaidi
@ahmedelgaidi 2 жыл бұрын
Can't describe the good feeling i have now Thanks:)
@dutchvooriedereendvi2914
@dutchvooriedereendvi2914 Жыл бұрын
مرحبا عندي بعض الأسئله عن هذا الموضوع فممكن اسئلك اذا انت فاهم الموضوع. انا بصراحه لغه الانجليزيه ليسه بالجيده. فأحببت اسئلك اذا ما في عندك مانع
@badakculasatu
@badakculasatu Жыл бұрын
underrated
@kavinkumarb7323
@kavinkumarb7323 2 жыл бұрын
Waiting for next video 🍃
@fullmoon9975
@fullmoon9975 Ай бұрын
a helpful KZbin video ever
@bryikcode
@bryikcode Жыл бұрын
u r great bro , thank u
@lnamikaze8919
@lnamikaze8919 2 жыл бұрын
would have like the portion over DNS config but still a huge banger this video. thk's boss
@sarabpreetsingh6147
@sarabpreetsingh6147 Жыл бұрын
great work... amazing video...
@RianY2K
@RianY2K 2 жыл бұрын
thank you for tutorial 👍
@NoreddineSaiah
@NoreddineSaiah 9 ай бұрын
Thank you!
@lytuan5836
@lytuan5836 2 жыл бұрын
really useful with me, thanks a lot
@coder5336
@coder5336 2 жыл бұрын
Thanks for the detailed video. which hardware I should choose for the 10 project portfolio?
@user-qs8dk8bv2t
@user-qs8dk8bv2t Жыл бұрын
Be blessed from above only for the best!
@vinaysehwag459
@vinaysehwag459 2 жыл бұрын
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.
@biniteshome1403
@biniteshome1403 Жыл бұрын
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??
@rajshrishrimal2653
@rajshrishrimal2653 2 жыл бұрын
Great video 😍
@SubzeroGamers100
@SubzeroGamers100 2 жыл бұрын
thanks so much!!
@mexicanmax227
@mexicanmax227 2 жыл бұрын
Liked and subscribed babyyy 😎
@iqbal5942
@iqbal5942 2 жыл бұрын
Lama in your next project before starting coding plz give a brief overview of how you think of starting any project?
@yukinoyu
@yukinoyu 5 ай бұрын
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?
@me.ahasan
@me.ahasan 2 жыл бұрын
Awesome 👍
@justfun591
@justfun591 2 жыл бұрын
Salute!
@user-ms2jf1eg3j
@user-ms2jf1eg3j 2 жыл бұрын
Instant like, bro
@javalok9575
@javalok9575 2 жыл бұрын
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 ?
@medthelegend8930
@medthelegend8930 2 жыл бұрын
you're awesome
@FirasKarboul
@FirasKarboul Жыл бұрын
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 Жыл бұрын
Yeah got locked out of my VPS first time round, thanks
@ceop1239
@ceop1239 2 жыл бұрын
You are best
@charbelandary6596
@charbelandary6596 11 ай бұрын
bro you are a legend please can you make same video with go daddy VPS?
@NoOne-zu5qm
@NoOne-zu5qm 2 жыл бұрын
Thankyou in advance for this tutorial :)
@yakupaydn6213
@yakupaydn6213 2 жыл бұрын
For a 4-5 apps portfolio which server do you recommend? Thank u very much 👏👏👏
@technoinfoworldwide2329
@technoinfoworldwide2329 2 жыл бұрын
Make deployment on ubuntu nginx, aws .also image upload on aws s3 using multers3 and aws sdk
@maniac1441
@maniac1441 Жыл бұрын
Awesome
@cubedev4838
@cubedev4838 2 жыл бұрын
Very useful, seriously amazing channel
@micoberss5579
@micoberss5579 2 жыл бұрын
Super
@mikhailartiushkin982
@mikhailartiushkin982 Жыл бұрын
tnx
@fethidogandev
@fethidogandev 8 ай бұрын
for those who cant similiar result like 17:59 sudo systemctl reload nginx
@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.
7 Ways to Deploy a Node.js App
9:14
Fireship
Рет қаралды 470 М.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Рет қаралды 3,5 МЛН
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 80 МЛН
Here's why you need Nginx as a Reverse Proxy for your Node.js app
10:17
Software Developer Diaries
Рет қаралды 13 М.
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
developedbyed
Рет қаралды 2,3 МЛН
Big Tech AI Is A Lie
16:56
Tina Huang
Рет қаралды 50 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 385 М.
Best VSCode Extensions I'm in Love with
8:36
Lama Dev
Рет қаралды 366 М.
Dockerize Next.js & Deploy to VPS (EASY!)
19:43
ByteGrad
Рет қаралды 33 М.
🔥Новый ЛИДЕР РЫНКА СМАРТФОНОВ🤩
0:33