An open API service indexing awesome lists of open source software.

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

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
```