npm install joi
- Description : Joi is a data validation library for Node.js that is used to validate input data from users. Joi allows developers to create data schemas that define validation requirements for input data. This data schema can then be used to validate input data from the user before it is used by the application.
- Documentation : https://www.npmjs.com/package/joi
npm install express
npm install --save-dev @types/express
- Description : Express Js is a web framework built on Node.js. This framework provides a number of features and functionality that make it easier for developers to create secure, scalable and efficient web applications.
- Documentation : https://www.npmjs.com/package/express
npm install --save-dev prisma
- Description : Prisma is an ORM (Object Relational Mapping) library for Node.js that makes it easier for developers to interact with databases. Prisma provides a data model that can be used to define the database structure and relationships between tables. This data model can then be used to generate the SQL code needed to access and manipulate the data in the database.
- Documentation : https://www.prisma.io/
npm install winston
- Description : Winston is a popular logging library for Node.js. Winston provides an easy way to log information from Node.js applications. Winston can be used to log information about errors, performance, and user activity.
- Documentation : https://www.npmjs.com/package/winston
npm install bcrypt
npm install --save-dev @types/bcrypt
- Description : The Bcrypt library in Node.js functions to encrypt user passwords. Password encryption is the process of converting a password into a format that cannot be read by humans. This aims to protect passwords from brute force attacks, namely attacks that try to guess the password by trying various possible character combinations.
- Documentation : https://www.npmjs.com/package/bcrypt
npm install --save-dev jest @types/jest
- Description : Jest is a JavaScript testing library developed by Facebook. Jest is used to perform unit testing, integration testing, and end-to-end testing on JavaScript applications.
- Documentation : https://www.npmjs.com/package/jest
npm install --save-dev babel-jest @babel/preset-env
- Description : The function of the Babel library in Node.js is to translate modern JavaScript syntax (ES6+) into a syntax that can be fully supported by all browsers and Node.js.
- Documentation : https://babeljs.io/setup#installation
npm install --save-dev supertest @types/supertest
- Description : Supertest is a Node.js library that helps developers test APIs. This library makes it easier for developers to make HTTP requests to an Api server and check the response.
- Documentation : https://www.npmjs.com/package/supertest
npm install --save-dev --save-exact prettier
- Description : Prettier is a JavaScript library used to tidy up code. This library can be used for various programming languages, including JavaScript, TypeScript, CSS, and HTML..
- Documentation : https://prettier.io/
npm install body-parser
- Description: The function of the body parser library in Node.js is to parse data from the HTTP request body. The data from the HTTP request body is usually in the form of JSON data, form data, or base64 encoded data. The body parser will parse the data into a format that can be accessed by the Node.js application. Body parsers are usually used in Node.js applications that receive data from HTTP request bodies, such as web applications that use forms to send data to the server. Without the body parser, Node.js applications will not be able to access data from the HTTP request body.
- Documentation : https://www.npmjs.com/package/body-parser
npm install jsonwebtoken
- The function of the JSON Web Token (JWT) library in Node.js is to authenticate and authorize users. JWT is a token that contains information about the user, such as username, email, and role. This token can be used to access APIs or services that require authentication
- Documentation : https://jwt.io/
npm install cors
- The function of a CORS library is to allow resources from one domain to access resources from another domain. CORS stands for Cross-Origin Resource Sharing.
- Documentation : https://www.npmjs.com/package/cors
npm install cookie-parser
- Description : The cookie-parser library is a Node.js library used for parsing HTTP cookies. HTTP cookies are data that are stored by the browser on the user's computer and sent back to the server each time the user visits a website. Cookies can be used to store information such as login status, user preferences, or session data.
- Documentation : https://www.npmjs.com/package/cookie-parser
npm install -g nodemon
npm install --save-dev nodemon
- Description : Nodemon is a tool that is used to monitor changes in Node.js applications. Nodemon will restart the Node.js application automatically when there are changes in the application code.
- Documentation : https://www.npmjs.com/package/nodemon
npm install swagger-ui-express
npm install swagger-jsdoc
- Description : Swagger is a tool that is used to document APIs. Swagger can be used to generate documentation for APIs that are built using Node.js, Java, PHP, Ruby, Python, and other programming languages.
- Documentation : https://swagger.io/
npm install uuid
npm install --save-dev @types/uuid
- Description : The UUID library in Node.js is used to generate unique identifiers. UUID stands for Universally Unique Identifier. UUID is a 128-bit number that is used to identify information in computer systems. UUID is usually used to identify files, documents, or directories.
- Documentation : https://www.npmjs.com/package/uuid