Blog

11 October 2020

Developing ExpressJS + MongoDB application with Visual Studio Code Remote Containers”

I spent the last few weeks looking for a tutorial to get started with Remote Containers. But, given that I can’t learn new concepts unless I explain it to others, I had to find a simple and easy workflow.

Finally, after 3-4 weeks of experimentation, I have a flow that I am happy with. The details are below. If you want me to talk to you and your team on this topic, please message me.

Here are the topics I am expecting to cover:

  1. Introduction to the concept of Docker and its benefits for Developers
  2. Introduction to Docker Compose and benefits for Developers
  3. Using DevContainers in Visual Studio Code to develop ExpressJS applications

Essentially, I will follow the steps mentioned below, and answer the questions above:

  1. Generate a new project
  2. Debug the application
  3. Pass environment variables to the application
  4. Install the MongoDB/PostgreSQL database for the application
  5. If time permits, add code to establish a session to the database

I am expecting this to take about 90 minutes, give or take.

#expressjs #nodejs #tutorial #javascript #docker #developer #programming #weekendlearning