Posts for Deven

Software Developer
Deven
Deven wrote

How to use Many to Many relations in Laravel

Many to Many Relations is one of the eloquent relationships in Laravel. The main factor in many many relations is the to-join table which is called the pivot table. The pivot table has the ability to perform relations from one model to many models. In this article, you’re going to learn how to implement Many […]

April 22, 2023 in Laravel & Tutorials
Deven
Deven wrote

How to use the firstOrCreate() method in Laravel

The first() method in Laravel is used to match and find specific data from the database. It can return only one record at a time. On the other hand, we use the create() method to create new data in Laravel. But using the firstOrCreate() method we can do both tasks at a time. In this […]

April 22, 2023 in Laravel & Tutorials
Deven
Deven wrote

Building a Reactive Crypto Application with Angular Signals

In this article, I will walk you through creating a simple reactive application using Angular signals to display the prices of various cryptocurrencies like Bitcoin, Ethereum, and Dogecoin. This will help you understand how to leverage Angular signals for building reactive applications and how they can benefit you. What are Angular Signals? Angular signals are […]

April 20, 2023 in Angular & Tutorials
Deven
Deven wrote

Mastering MERN Stack CRUD Operations: A Step-by-Step Guide

In this tutorial, you will master the MERN Stack CRUD Operations by building a PhoneBook app. Specifically, we will create a simple phone book app that allows a user to add a phone number along with a name, update the phone number, view the phone number list, and delete phone numbers. We will use MongoDB […]

April 20, 2023 in React & Tutorials
Deven
Deven wrote

How to perform CRUD operations in Mongoose by using ExpressJS

In this tutorial, you will learn how to perform CRUD operations in Mongoose by using ExpressJS. CRUD refers to the four basic functions of a web application, which are Create, Read, Update, and Delete. It is the fundamental operation of a web application. This operation is widely used in web applications. If you observe any […]

April 20, 2023 in Mongoose & Tutorials
Deven
Deven wrote

Building the CRUD REST API With NestJS

In this article, you will learn about NestJS and REST API, why NestJS is essential, and how to build a NestJS CRUD REST API. It is said that performance is one of the key features of any good framework, and NestJS is a big hit among many developers when it comes to performance. When building […]

April 20, 2023 in NestJs & Tutorials
Deven
Deven wrote

7 JavaScript Design Patterns Every developer should know

Design patterns are reusable solutions applied to commonly occurring problems when writing JavaScript web applications. They offer developers an organized and structured approach to coding, which makes applications more efficient, scalable, and maintainable. This comprehensive guide will explore seven popular JavaScript design patterns, divided into three categories: creational, structural, and behavioral patterns. By understanding and […]

April 20, 2023 in Dev Bytes & JavaScript
Deven
Deven wrote

10 methods to compare two arrays in JavaScript

In this article I will discuss 10 different methods to compare two arrays in JavaScript, taking into account various factors such as order and nested structures. In JavaScript, comparing arrays can be tricky, as the language handles array comparisons by reference instead of by value. By the end of this article, you will have a […]

April 20, 2023 in Dev Bytes & JavaScript
Deven
Deven wrote

A Beginner’s Guide to Nested Structures in JavaScript

Nested structures are a common concept in programming, and as a beginner in JavaScript, understanding them is crucial to becoming proficient in the language. In this article, we will explore the concept of nested structures in JavaScript & we’ll go through examples so you grasp the concept better. What are nested structures? A nested structure […]

April 20, 2023 in Dev Bytes & JavaScript
Deven
Deven wrote

8 Tricks to write clean code in TypeScript

This article presents 8 unique tricks to help beginners write clean, professional, and maintainable TypeScript code. We will also demonstrate how to apply these tricks to write clean code in TypeScript by building a simple To-Do application. TypeScript is an open-source programming language created and managed by Microsoft, which functions as a rigorous syntactical expansion […]

April 18, 2023 in Tutorials & Typescript
Deven
Deven wrote

Building an AI Chatbot with Vue, Node, and OpenAI

In this article, we will be setting up a new Vue.js and Node.js project to create an AI chatbot using OpenAI’s ChatGPT API. The tutorial will guide you through creating a frontend using Vue.js, and a backend using Node.js and the OpenAI API. We will be using the OpenAI ChatGPT API, which allows developers to […]

April 16, 2023 in Tutorials & Videos & Vue
Deven
Deven wrote

Build a Drawing App with Vue 3 and HTML5 Canvas

Dev Bytes – This tutorial demonstrates how to create a simple drawing app using Vue.js and HTML5 Canvas. The final result is a basic but functional drawing app that showcases the power of combining Vue and HTML5 Canvas. In this tutorial, we will be building a simple drawing app with Vue 3 and Html5 Canvas. HTML’s <canvas> […]

April 15, 2023 in Tutorials & Videos & Vue
Deven
Deven wrote

Learn how to Generate QR code in Laravel with example

A QR code is a type of barcode that can be read easily by a digital device that stores information as a series of pixels in a square-shaped grid. In this modern technological era, QR code is very essential. All modern technology provides QR code-generating process. Today we are going to learn, how to generate […]

March 16, 2023 in Laravel & Tutorials
Deven
Deven wrote

How to use Laravel Telescope

When we start to develop a web application, it is common for us to face bugs in our code. That can be a simple bug like a missing comma or a complex bug like wrong queries, path, etc. And we know that debugging can be very painful. But Laravel officially provides an effective bug assistant […]

March 14, 2023 in Laravel & Tutorials
Deven
Deven wrote

how to use orWhere() method in Laravel

All the Eloquent relationships in Laravel are defined with methods. So, we can call those methods to get a reference of the database relationship without performing a query and get access to specific models. The orWhere() method is one of them. In this tutorial, you are going to learn how to use the orWhere() method […]

March 12, 2023 in Laravel & Tutorials