Dockerizing a React application with Nodejs Postgres and NginX | dev and prod | step by step

Publicado el: 16 mayo 2021
en el canal de: Codeching
84,097
1.7k

In this tutorial we are going to create a multicontainer application which will be running in docker containers.
We will create both the development and production version of Docker files.
Locally we will use a docker-compose file that will run the backend, front-end, postgres and nginx proxy. And you will be able to start the whole construction with one command.
For front-end we're going to use React, for backend we are going to use Node.Js
and we are going to use Postgres to store the data in the database.
We are going to use Nginx for 2 purposes, we will use it as a router in front-of our front-end and Node.js express server, and also we will use Nginx as a HTTP server which will serve our builded React front-end code.

You can find the final source code here: https://gitlab.com/codeching/docker-m...

In my next tutorial, we will deploy the whole solution on Kubernetes, so stay with me, it will be very exciting :)

00:00 - Intro
01:26 - Arcthitecture
02:15 - Setup project basics
03:25 - Creating the back-end Node.js application
09:12 - Creating the front-end React application
17:56 - Creating the dev env Docker files
20:18 - Creating the docker-compose file
27:15 - Creating the prod env Docker files - build images and push them to Docker hub
31:32 - Summary

------------------------------
My name is László Leber
Webpage: https://lebersoftware.hu
Facebook: https://www.facebook.com/Codeching-11...
Twitter:   / codeching  
Instagram:   / laszlo_leber  


En esta página del sitio puede ver el video en línea Dockerizing a React application with Nodejs Postgres and NginX | dev and prod | step by step de Duración hora minuto segunda en buena calidad , que subió el usuario Codeching 16 mayo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 84,097 veces y le gustó 1.7 mil a los espectadores. Disfruta viendo!