Dockerizing an Angular application with Nodejs Postgres and NginX | dev and prod | step by step

Veröffentlicht am: 13 Oktober 2022
auf dem Kanal: Codeching
7,647
101

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 Angular, 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.

Starting code: https://gitlab.com/codeching/docker-m...

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

00:00 - Intro
01:00 - Prerequisites
01:55 - Architecture overview
03:25 - Back-end overview (node.js)
05:34 - Front-end overview (Angular)
07:33 - Tryout the back-end with front-end locally
09:45 - Creating the dev env Docker files
15:53 - Creating the docker-compose file
22:11 - Tryout hot-reloading
22:44 - Creating the prod env Docker files - build images and push them to Docker hub
26:36 - Tryout the docker-compose with prod Docker files
27:34 - Summary

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


Auf dieser Seite können Sie das Online-Video Dockerizing an Angular application with Nodejs Postgres and NginX | dev and prod | step by step mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Codeching 13 Oktober 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,647 Mal angesehen und es wurde von 101 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!