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
Next.js: A Comprehensive Guide to Building Fast and Scalable Web Applications with Server-Side Rendering and Static Site Generation
Introduction Next.js is a React-based web framework that is used for building server-side rendered (SSR) web applications. It was created by Vercel (formerly Zeit), a cloud platform for serverless deployment of web projects. Next.js provides several features that make it a popular choice for building modern web applications. Some of these features include: Overall, Next.js … Read more
How to design Entity-Relationship diagrams without sketching?
Traditionally, we are used to sketch a sample UML diagram in our paper and then draw it in our PC using different tools but now we can do it just by typing out your database model code in db.diagram.io. db.diagram.io is a database diagram designer platform to design and develop your Entity Relationship(ER) diagrams. It … 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
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