Myvideo

Guest

Login

Deploying a MERN Application (with Docker, Atlas, and Digital Ocean!)

Uploaded By: Myvideo
1 view
0
0 votes
0

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!

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later