https://github.com/ariya/hello-nodejs
Minimal HTTP server
https://github.com/ariya/hello-nodejs
bun deno docker nodejs podman
Last synced: 7 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-22T05:59:17.000Z (7 months ago)
- Last Synced: 2025-03-22T06:27:33.958Z (7 months ago)
- Topics: bun, deno, docker, nodejs, podman
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- 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`.
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
```