A simple example web app written with Node.js without using other frameworks like Express.js.
-
Install dependency packages with
npm install. -
Run
node app.jsand open the web app atlocalhost:3000. While developing the app, we can also runnpm start- this will automatically restart the app whenever new changes are added to the source code. -
To debug app, install nodemon globally with
npm i -g nodemon, then in VS Code run debugging by callingRun > Start Debugging.
