demov1
Simple server app that responds with 'hello world' but only handles one route (the root URL: '/').
Terminal 1
If you have Node.js installed, you can run the app with these commands:
npm install
npm start Output
> [email protected] start
> node app.js
server listening on :8080Terminal 2
curl localhost:8080Output
<h1>hello world</h1>Last updated