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
Model View Controller
Model view controller is the pattern where any web app show to the client in HTML, CSS & JS format. It separates an application into three interconnection components: the model, the view, and the controller. Controller – The controller is the endpoint where the request is received. The controller acts as an intermediary between the … 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
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
React-Helmet-Async SEO for Reactjs App
React-Helmet Async In the modern-day digital age, SEO (search engine optimization) is a crucial part of having a strong online presence. Seo includes optimizing your website or web application to enhance its visibility and rating in search engine outcomes pages (engines like Google). One of the key additives of search engine optimization is adding meta … Read more
What is Swiperjs? Creating Dynamic Sliders with Swiper.js in React
Introduction SwiperJS is a popular open-source JavaScript library that allows developers to create responsive and touch-enabled sliders and carousels for their web and mobile applications. It is designed to be lightweight, customizable, and easy to use, making it a popular choice for web developers who want to add interactive and engaging content to their websites. … Read more
Create an authentication module in NestJs using local-strategy
Step 1: Create auth module (make it individual) stuff needs in authentication: step 2: import the passport module in auth module Step 3: Create the folder strategy and inside the folder create new file local.strategy.ts step 4: create auth guard