Skip to content

ariya/hello-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello, Node.js!

A minimal HTTP server listening on localhost port 3000.

Test with Nodejs Test with Bun Test with Deno Test with Podman Test with Docker

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

About

Minimal HTTP server

Topics

Resources

License

Stars

Watchers

Forks