Deploying a MERN Application (with Docker, Atlas, and Digital Ocean!)
Taking a simple MERN stack application from development to deployment!
Source code:
---
Join the Community:
💬 Discord:
💻 GitHub:
🐥 Twitter:
👨💼 LinkedIn:
🌐 Website:
---
Part 1: Dockerize
1) Run baseline application
2) Dockerize api server
3) Dockerize react client
4) Set up docker compose
5) Find public mongo image
6) Enable hot reloading by mounting in src
---
Part 2: Productionize
1) Break out separate docker compose files
2) Move DB to Atlas
3) Update client Dockerfile to build production version
4) Use Caddy to serve front end files
5) Parameterize connection strings
6) Split local and production configurations
---
Part 3: Deployment
1) Create Digital Ocean VM
2) Configure DNS
3) Configure network access in Atlas
4) Configure Caddy
5) Deploy!
1 view
175
35
2 weeks ago 00:27:44 1
Varda Capsule Reentry - Full Video from LEO to Earth
3 weeks ago 00:22:23 1
Structures Burn as Palisades Fire Explodes to 1,200+ Acres
1 month ago 00:06:38 1
Meme Coin SUPER CYCLE - I Made 1 ETH PER DAY with This Meme Coin Trading Bot
1 month ago 00:06:38 1
How To Make $2000 Per Day With Ai Crypto Trading Bot 2024
1 month ago 00:07:41 1
ChatGPT Ethereum Arbitrage Bot: Earn $1,000 Daily in Passive Income
1 month ago 00:03:01 1
First Videos From Inside Azerbaijan Plane Before And After The Crash | Kazakhstan Plane Crash
2 months ago 00:06:54 1
How to Profit from Metaverse Crypto – Best Projects and Strategies!
2 months ago 00:12:15 1
Best Meme Coins That Could Skyrocket – The NEXT Big Opportunities!
2 months ago 00:07:14 1
How To Use AI Crypto Bot and Make $2000 Per Day
2 months ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready