Install the dependecies
To install all the required dependencies, run this command on the terminal of your project folder.
npm install
Once we run "npm install" in the terminal, the command triggers the installation of the specified dependencies listed in the project's package.json file. The following dependencies are commonly installed:
- axios: A JavaScript library for making HTTP requests.
- bcrypt: Used for password hashing and encryption.
- body-parser: Middleware for parsing incoming request bodies.
- cors: Handles Cross-Origin Resource Sharing (CORS) issues.
- express: A fast web application framework for Node.js.
- jsonwebtoken: Generates and verifies JSON Web Tokens (JWTs).
These dependencies provide essential functionality for handling HTTP requests, securing passwords, parsing data, managing CORS, building web applications, and implementing authentication.
11
