Skip to content

Commit 061c143

Browse files
[feat] update init node.js docs guide
1 parent 859afee commit 061c143

File tree

2 files changed

+41
-11
lines changed

2 files changed

+41
-11
lines changed

content/guides/nodejs/_index.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,36 @@ params:
1515
time: 20 minutes
1616
---
1717

18-
The Node.js language-specific guide teaches you how to containerize a Node.js application using Docker. In this guide, you’ll learn how to:
18+
[Node.js](https://nodejs.org/en) is a powerful JavaScript runtime for building scalable, high-performance applications. While it's flexible and fast, managing different development and deployment environments can become complex. Docker offers a solution: a consistent, containerized environment that works everywhere.
1919

20-
- Containerize and run a Node.js application
21-
- Set up a local environment to develop a Node.js application using containers
22-
- Run tests for a Node.js application using containers
23-
- Configure a CI/CD pipeline for a containerized Node.js application using GitHub Actions
24-
- Deploy your containerized Node.js application locally to Kubernetes to test and debug your deployment
20+
>
21+
> **Acknowledgment**
22+
>
23+
> Docker extends its sincere gratitude to [Kristiyan Velkov](https://www.linkedin.com/in/kristiyan-velkov-763130b3/) for authoring this guide. As a Docker Captain and experienced Front-end engineer, his expertise in Docker, DevOps, and modern web development has made this resource invaluable for the community, helping developers navigate and optimize their Docker workflows.
24+
25+
---
26+
27+
## What will you learn?
28+
29+
In this guide, you will learn how to:
30+
31+
- Containerize and run a Node.js application using Docker.
32+
- Run unit tests inside a Docker container.
33+
- Set up a development container environment.
34+
- Configure GitHub Actions for CI/CD with Docker.
35+
- Deploy your Dockerized Node.js app to Kubernetes.
36+
37+
To begin, you’ll start by containerizing an existing Node.js application.
38+
39+
---
40+
41+
## Prerequisites
42+
43+
Before you begin, make sure you're familiar with the following:
44+
45+
- Basic understanding of [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) or [TypeScript](https://www.typescriptlang.org/).
46+
- Basic knowledge of [Node.js](https://nodejs.org/en) and [npm](https://docs.npmjs.com/about-npm) for managing dependencies and running scripts.
47+
- Understanding of Docker concepts such as images, containers, and Dockerfiles. If you're new to Docker, start with the [Docker basics](/get-started/docker-concepts/the-basics/what-is-a-container.md) guide.
48+
49+
Once you've completed the Node.js getting started modules, you’ll be ready to containerize your own Node.js application using the examples and instructions provided in this guide.
2550

26-
Start by containerizing an existing Node.js application.

content/guides/nodejs/containerize.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ aliases:
1212
- /guides/language/nodejs/containerize/
1313
---
1414

15+
1516
## Prerequisites
1617

17-
- You have installed the latest version of [Docker
18-
Desktop](/get-started/get-docker.md).
19-
- You have a [git client](https://git-scm.com/downloads). The examples in this
20-
section use a command-line based git client, but you can use any client.
18+
Before you begin, make sure the following tools are installed and available on your system:
19+
20+
- You have installed the latest version of [Docker Desktop](/get-started/get-docker.md).
21+
- You have a [git client](https://git-scm.com/downloads). The examples in this section use a command-line based git client, but you can use any client.
22+
23+
> **New to Docker?**
24+
> Start with the [Docker basics](/get-started/docker-concepts/the-basics/what-is-a-container.md) guide to get familiar with key concepts like images, containers, and Dockerfiles.
25+
26+
---
2127

2228
## Overview
2329

0 commit comments

Comments
 (0)