Install Development Dependencies

Development dependencies are packages used during development and testing but are not required by the application's runtime implementation.

We will install:

  • Jest for automated tests.
  • Supertest for HTTP integration testing.
  • Nodemon as an alternative development restart utility.

We will use Node.js watch mode in the main development workflow, but Nodemon is included as an alternative.

Install Development Packages
npm install -D jest supertest nodemon

Installs testing tools and the optional Nodemon development utility.

Key Takeaways
  • Development dependencies support local development and testing.

  • Supertest helps test Express endpoints.

  • Nodemon is an alternative to Node.js watch mode.