You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guides/nodejs/_index.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,20 @@ params:
15
15
time: 20 minutes
16
16
---
17
17
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
-**Development Tools**: Hot reload, debugging support, comprehensive testing with Vitest
27
+
-**Architecture**: Clean separation of client/server code, shared utilities, and comprehensive test coverage
19
28
20
-
>
21
29
> **Acknowledgment**
22
30
>
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.
24
32
25
33
---
26
34
@@ -42,9 +50,9 @@ To begin, you’ll start by containerizing an existing Node.js application.
42
50
43
51
Before you begin, make sure you're familiar with the following:
44
52
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.
47
55
- 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.
48
57
49
58
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.
0 commit comments