Docker / Postgresql / nodejs

this is going to be very simple and short article about how you can virtualize nodejs and postgres using docker. This article will give you basic idea of docker and docker compose. Lets start by creating nodejs app with postgres.

yarn init -y
yarn add express pg
touch server.js
touch Dockerfile
touch docke-compose.yml
sudo docker-compose up

14 year old coding enthusiast. Do fullstack web developement.