Deploy Nodejs App to DigitalOcean in 10 Minutes (Free SSL & Custom Domain)

  Рет қаралды 7,928

Hayk Simonyan

Hayk Simonyan

Күн бұрын

Пікірлер: 31
@pyrolas328
@pyrolas328 4 ай бұрын
been searching for hours now but yours worked perfectly thanks
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
you're welcome!!
@thiagomm
@thiagomm 5 ай бұрын
AMAZING! Man... you are the one! Better than oficial DO tutorials.
@hayk.simonyan
@hayk.simonyan 5 ай бұрын
Thanks man! Glad it was helpful
@MeMasterMind
@MeMasterMind 3 ай бұрын
super quick and concise. thank you!
@hayk.simonyan
@hayk.simonyan 3 ай бұрын
You're welcome!!
@tatendamuzenda8442
@tatendamuzenda8442 4 ай бұрын
i can never thank you enough man
@LSAPilot
@LSAPilot 4 ай бұрын
Amazing Tutorial, helped me so much! One more question: When trying to deploy new code, is it enough to just pull them into my projectdirectory? Or do I have to stop the Server beforehand and restart it afterwards? If so how do I end the service when running in pm2? Kind regards :)
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
You have to stop and restart the server, and you can use the pm2 stop command - pm2 stop your_app_name. After that, you can pull your changes and then restart the server with the same pm2 command that is shown in the video. Here are some useful commands that you can use pm2.keymetrics.io/docs/usage/process-management/
@KirubelBerhanu-nz3mr
@KirubelBerhanu-nz3mr 3 ай бұрын
Hi, I was wondering if I could also install Postgres on the VM or do I have to buy a separate database cluster Thanks
@KirubelBerhanu-nz3mr
@KirubelBerhanu-nz3mr 3 ай бұрын
I already found the answer thanks
@umutakkiran
@umutakkiran 3 ай бұрын
@@KirubelBerhanu-nz3mr can you share the answer with me please ?
@airubus5611
@airubus5611 Ай бұрын
@@umutakkiran yes u can install psql or any other db on a vps or just use a docker
@denisvradiy8503
@denisvradiy8503 3 ай бұрын
thank you bro! you saved a lot of time for me!
@hayk.simonyan
@hayk.simonyan 3 ай бұрын
You're welcome!
@PatrickNoonan
@PatrickNoonan 4 ай бұрын
Very helpful vid, thanks man!
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
You’re welcome!!
@eQ-13
@eQ-13 6 ай бұрын
This was a great tutorial. Could you add the deployment of front end too in the same droplet? How do we configure ngnix when both backend and front end are running on the same server?
@hayk.simonyan
@hayk.simonyan 6 ай бұрын
You can deploy both on the same droplet by configuring Nginx to serve your frontend from the root and proxy /api requests to your backend. This way Nginx will handle both frontend and backend on the same server.
@eQ-13
@eQ-13 6 ай бұрын
@@hayk.simonyan Thank you for your response. Much appreciated.
@kylefrischman6873
@kylefrischman6873 3 ай бұрын
thank you, worked great
@hayk.simonyan
@hayk.simonyan 2 ай бұрын
You're welcome!
@petersifuentez6420
@petersifuentez6420 2 ай бұрын
How do I upload my node.js project on github?
@hayk.simonyan
@hayk.simonyan 2 ай бұрын
docs.github.com/en/get-started/start-your-journey/uploading-a-project-to-github
@mojammelhossain2082
@mojammelhossain2082 5 ай бұрын
it would be better if you could add the mongodb coonfiguration as well.. that would be a allout tuts
@hayk.simonyan
@hayk.simonyan 5 ай бұрын
I'm not using mongodb in this example deployment, but I'll share that in the future as well once I have to make a deployment using mongodb
@hayk.simonyan
@hayk.simonyan 5 ай бұрын
but you can use mongodb atlas in combination with digital ocean and that is pretty easy to configure by following mongodb atlas guide
How to deploy a NextJS app on Digital Ocean instead of Vercel
20:47
Coding with Robby
Рет қаралды 15 М.
How to generate and use a SSL certificate in NodeJS
13:59
Mafia Codes
Рет қаралды 111 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
FREE Domain and SSL for Local Network | Nginx Proxy Manager on Docker - #13
16:22
Tech - The Lazy Automator
Рет қаралды 83 М.
Backend Developer Roadmap 2025: The Complete Guide
17:03
Hayk Simonyan
Рет қаралды 10 М.
How to deploy node api with ngnix on VPS
16:33
Hitesh Choudhary
Рет қаралды 7 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 909 М.
How to Deploy a Node.js App to Digital Ocean (Nginx, Ubuntu)
20:03
I'm now VPS red pilled (and protecting with CloudFlare)
8:12
Web Dev Cody
Рет қаралды 47 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН