npm init

We will use:

  • nodemon (dev package)
  • express
  • body-parser

Right now we are restarting the server.

Types of errors:

  • Syntax error (spell const as cons :D)

  • Runtime error

  • Logical errors

  • use return to not execute code after.

To start debugging: normal run > Start debugging to start nodejs debugging.