Learn to take a full-stack React, Go, and MongoDB application from local development to a fully containerized production environment.

We just posted a full course on the freeCodeCamp.org YouTube channel that will help you master Docker orchestration, learn to manage environments with Docker Compose, and deploy live to Hostinger using both manual and automated methods. By the end, you’ll have a professional CI/CD pipeline powered by GitHub Actions that automatically builds and deploys your updates with every push. Gavin Lon developed this course.

Here are the sections in the course:

  • Introduction

  • Deploying a full-stack web app to Hostinger (using Docker Manager)

  • Create a CI/CD Pipe-line

  • A Deep Look at Deployment

  • Clone the full-stack Web App from GitHub repo

  • Setup Development Environment

  • Test full-stack Web App Running on Bare Metal (Dev machine)

  • Lets Containerise our Web App’s Components

  • Create Dockerfiles for Server and Client Components

  • Build Docker Images and Launch Containers (docker run)

  • Test Dockerized Web Application

  • Create docker-compose.yaml file

  • Launch Containerised Web App using docker-compose

  • Test Containerzed Web App Launched through docker-compose

  • Update React Code to Read docker-compose env variables

  • Update docker-compose.yaml to Containerise MongoDB Database

  • Test Web App with Containerised MongoDB Database

  • Separate Dockerfiles into Dev and Production Versions

  • Separate docker-compose files into Dev and Production Versions

  • Test Run docker-compose.dev in Watch Mode (hot reload feature)

  • Push Production Docker Images to DockerHub

  • Make Code Update to Golang (Go) code

  • Push Updated Code to new GitHub Repo

  • Build New Version of Docker Images and push to DockerHub

  • Manual Installation on Hostinger (using Terminal) - One Time Setup

  • Test Containerised Web App Running on Hostinger

  • Create GitHub Action to Automate Deployment using a CI/CD Pipe-line

Watch the full course on the freeCodeCamp.org YouTube channel (4-hour watch).