Skip to content

Commit 281cc11

Browse files
[feat] update node.js documentation
1 parent c15f36a commit 281cc11

File tree

7 files changed

+1939
-857
lines changed

7 files changed

+1939
-857
lines changed

content/guides/nodejs/_index.md

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

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.
18+
[Node.js](https://nodejs.org/en) is a powerful JavaScript runtime for building scalable, high-performance applications. This guide demonstrates containerizing a modern TypeScript Node.js application with React frontend, PostgreSQL database, and production-ready Docker configurations.
19+
20+
The sample application is a modern full-stack Todo application featuring:
21+
22+
- **Backend**: Express.js 5.x with TypeScript, PostgreSQL database, RESTful API with comprehensive error handling
23+
- **Frontend**: React 19 with Vite, Tailwind CSS 4, modern UI components and hooks
24+
- **Build System**: Lightning-fast esbuild for server builds (12KB output), Vite for client builds
25+
- **Production Features**: Multi-stage Docker builds, security hardening, health checks, graceful shutdown
26+
- **Development Tools**: Hot reload, debugging support, comprehensive testing with Vitest
27+
- **Architecture**: Clean separation of client/server code, shared utilities, and comprehensive test coverage
1928

20-
>
2129
> **Acknowledgment**
2230
>
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.
31+
> 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 Full-stack 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.
2432
2533
---
2634

@@ -42,9 +50,9 @@ To begin, you’ll start by containerizing an existing Node.js application.
4250

4351
Before you begin, make sure you're familiar with the following:
4452

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.
53+
- Basic understanding of [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) and [TypeScript](https://www.typescriptlang.org/).
54+
- Basic knowledge of [Node.js](https://nodejs.org/en), [npm](https://docs.npmjs.com/about-npm), and [React](https://react.dev/) for modern web development.
4755
- 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.
56+
- Familiarity with [Express.js](https://expressjs.com/) for backend API development.
4857

4958
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.
50-

content/guides/nodejs/configure-ci-cd.md

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)