What is NPM?What is Package?What is Package.json?
First of all, NPM stands for Node Package Manager. It is also known as Ninja Pumpkin Mutants or Non-Profit Pizza Makers. Npm is a package manager for Javascript Programming Language. It is a package manager for NodeJs packages or modules if you like. It is the default package manager for the Javascript runtime environment NodeJs. … Read more
What is Swagger?How to implement swagger in your NestJs project?
Swagger is an open source tool/framework which is widely used by developers for building,documenting and testing out RESTful APIs for their system. It is very useful in the development phase of a system as it helps developer use and understand each other’s APIs. To implement swagger in your NestJs project, you can go through the … Read more
Multer in NestJs
Multer is a middleware for handling multipart/form data in Node.js applications, including NestJS. It is commonly used for handling file uploads. NestJS is a popular framework for building scalable and maintainable server-side applications with TypeScript. To use Multer in a NestJS application, you can follow these steps: Step 1: Install Multer as a dependency in … Read more
Web Scraping & storing in database in NestJs using Puppeteer and Prisma.
First of all, web scraping is the phenomenon of fetching/extracting contents and data from an existing website with the help of bots. In this blog, we will be using puppeteer package to scrape data. Puppeteer is headless chrome node API. It is an automation tool. Get started We are going to scrape book details from … Read more
Data seeding in NestJs using Faker and Prisma ORM.
First of all, data seeding is the mechanism of populating a database with dummy data. It is very useful in development of any system. It helps in automated testing and also increases the efficiency of database management. Data seeding can be done in several ways, but in this blog we are going to use faker … Read more