https://github.com/ariya/hello-nodejs
Minimal HTTP server
https://github.com/ariya/hello-nodejs
bun deno docker nodejs podman
Last synced: 2 months ago
JSON representation
Minimal HTTP server
- Host: GitHub
- URL: https://github.com/ariya/hello-nodejs
- Owner: ariya
- License: mit
- Created: 2025-03-22T00:15:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-03T05:01:15.000Z (3 months ago)
- Last Synced: 2026-04-03T13:22:07.137Z (3 months ago)
- Topics: bun, deno, docker, nodejs, podman
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello, Node.js!
A minimal HTTP server listening on `localhost` port `3000`.
[](https://github.com/ariya/hello-nodejs/actions/workflows/test-nodejs.yml)
[](https://github.com/ariya/hello-nodejs/actions/workflows/test-bun.yml)
[](https://github.com/ariya/hello-nodejs/actions/workflows/test-deno.yml)
[](https://github.com/ariya/hello-nodejs/actions/workflows/test-podman.yml)
[](https://github.com/ariya/hello-nodejs/actions/workflows/test-docker.yml)
Run with Node.js:
```
node index.js
```
Run with Bun:
```
bun index.js
```
Run with Deno:
```
deno --unstable-detect-cjs --allow-net --allow-env index.js
```
Run with Podman:
```
podman build -t hello-nodejs .
podman run -d -p 3000:3000 hello-nodejs
```
Run with Docker:
```
docker build -t hello-nodejs .
docker run -d -p 3000:3000 hello-nodejs
```