To run your web server write inside your terminal 'node app.js'. Visit http://localhost:3000 and you will see a message saying "Hello World".
Refer to the Introduction to Node.js for a more comprehensive guide to getting started with Node.js. https://nodejs.dev/en/learn/