This app runs on port 3001 and just displays 'Hello World ||| Hostname : Displays_Host_Name'
You can run this app with docker as well and docker compose and docker file is present.
- Node 16
- Git
- Docker
Clone the repo and install the dependencies.
git clone https://github.com/absunandan008/node_docker_app.git
cd node_docker_app
npm install
To start the express server, run the following
npm start
Open http://localhost:3001 and take a look around.
Clone the repo
git clone https://github.com/absunandan008/node_docker_app.git
cd node_docker_app
docker-compose build
docker-compose up
Hello World ||| Hostname : bce9dbd2ee2a
Gives just hostname http://localhost:3001/hostname
Gives Network details http://localhost:3001/network