How to Dockerise a NodeJS - TypeScript API || A Comprehensive Guide from Environment Setup to Deployment with a CI/CD Pipeline

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Docker Compose

    Define and run multi-container applications with Docker

  • sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

  • docker

    Docker - the open-source application container engine (by microsoft)

  • Docker is a containerization platform designed to simplify the packaging, distribution, and deployment of applications. It uses OS-level virtualization to deliver software in packages called containers. At its core, a Docker container is a lightweight, standalone executable package that includes everything needed to run a piece of software, including the code, runtime, libraries, and system tools. This article delves into the fundamental concepts of Docker, explaining how containers differ from traditional virtualization and highlighting the key components that make Docker a versatile and powerful tool for developers. Gain insights into the Docker image, container, and Dockerfile, and comprehend the significance of Docker in creating reproducible and isolated environments for Node.js TypeScript APIs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nodejs_unit_testing_guide

    A detailed guide on unit testing in a nodejs project with express and typescript

  • git clone https://github.com/Abeinevincent/nodejs_unit_testing_guide .

  • nodejs_ts_api_with_docker

    Dockerised Node API written in TypeScript

  • Next step is to understand how your team mates will clone and run the image. To pull image from docker hub, run the following command inside your directory housing the source code:

  • hub-feedback

    Feedback and bug reports for the Docker Hub

  • To deploy our previously built docker image on docker hub, head over to Docker Hub official website and login or create an account if you dont have one. After logging in to docker hub, you also need to login on your terminal. Use the following command:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts