Learn to take a full-stack React, Go, and MongoDB application from native development to a fully containerized production environment.
We’ve just posted a complete 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 each push. Gavin Loan developed this course.
Here are the course sections:
Introduction
Deploying a full-stack web app on Hostinger (using Docker Manager)
Create a CI/CD pipeline
A closer look at deployment
Clone the full-stack web app from the GitHub repo.
Configure the development environment.
Test a full-stack web app running on Baremetal (dev machine).
Let’s containerize our web app components.
Create Docker files for the server and client components
Build Docker images and launch containers (Docker Run)
Test the Dockerized Web Application.
Create the docker-compose.yaml file
Launch a containerized web app using Docker Compose.
Test containerized web app launched via Docker Compose.
Update React code to read docker-compose env variables.
Update docker-compose.yaml to Containerise MongoDB database.
Test a web app with a containerized MongoDB database.
Separate Docker files 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.
Update the code to Golang (Go) code.
Push the updated code to the new GitHub Repo.
Build new version of Docker images and push to DockerHub.
Manual Installation on Hostinger (using Terminal) – One time setup
Test a containerized web app running on Hostinger.
Create a GitHub action for automated deployment using a CI/CD pipeline
Check out the full course freeCodeCamp.org YouTube Channel (4 hour clock).